summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2004-01-25 05:03:14 +0000
committerjeff <jeff@FreeBSD.org>2004-01-25 05:03:14 +0000
commit539782b88b72baac51b684a5b1b77c662ed03185 (patch)
tree3c6406635df76c6294d30a618e85a9cb89f9c412
parentc85cdc3d0fd697f504c2f05524ded0b3282c75bf (diff)
downloadFreeBSD-src-539782b88b72baac51b684a5b1b77c662ed03185.zip
FreeBSD-src-539782b88b72baac51b684a5b1b77c662ed03185.tar.gz
- Don't define DETECT_DEADLOCK. I don't know that this code has detected
a deadlock in several years. Furthermore, the IPI code is currently protected by a seperate spinlock. This only served to make IPIs twice as expensive as they had to be which severely slowed down the IPI heavy ULE scheduler.
-rw-r--r--sys/i386/i386/local_apic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/i386/local_apic.c b/sys/i386/i386/local_apic.c
index ca46041..bc9dc01 100644
--- a/sys/i386/i386/local_apic.c
+++ b/sys/i386/i386/local_apic.c
@@ -638,7 +638,6 @@ SYSINIT(apic_setup_io, SI_SUB_INTR, SI_ORDER_SECOND, apic_setup_io, NULL)
* private the sys/i386 code. The public interface for the rest of the
* kernel is defined in mp_machdep.c.
*/
-#define DETECT_DEADLOCK
int
lapic_ipi_wait(int delay)
OpenPOWER on IntegriCloud