Page MenuHomeFreeBSD

D36186.id109279.diff
No OneTemporary

D36186.id109279.diff

Index: sys/x86/x86/local_apic.c
===================================================================
--- sys/x86/x86/local_apic.c
+++ sys/x86/x86/local_apic.c
@@ -434,6 +434,8 @@
int i;
bool arat;
+ TSENTER();
+
/*
* Enable x2APIC mode if possible. Map the local APIC
* registers page.
@@ -531,7 +533,7 @@
}
#ifdef SMP
-#define LOOPS 100000
+#define LOOPS 1000
/*
* Calibrate the busy loop waiting for IPI ack in xAPIC mode.
* lapic_ipi_wait_mult contains the number of iterations which
@@ -563,6 +565,8 @@
}
#undef LOOPS
#endif /* SMP */
+
+ TSEXIT();
}
/*

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 10:55 PM (9 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35418717
Default Alt Text
D36186.id109279.diff (592 B)

Event Timeline