Page MenuHomeFreeBSD

D22514.1794949394.diff
No OneTemporary

Authored By
Unknown
Size
430 B
Referenced Files
None
Subscribers
None

D22514.1794949394.diff

Index: head/sys/amd64/include/counter.h
===================================================================
--- head/sys/amd64/include/counter.h
+++ head/sys/amd64/include/counter.h
@@ -82,6 +82,7 @@
counter_u64_add(counter_u64_t c, int64_t inc)
{
+ KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
__asm __volatile("addq\t%1,%%gs:(%0)"
:
: "r" ((char *)c - (char *)&__pcpu[0]), "ri" (inc)

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 17, 9:03 PM (7 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41807757
Default Alt Text
D22514.1794949394.diff (430 B)

Event Timeline