PERFORCE change 61558 for review

John Baldwin jhb at FreeBSD.org
Wed Sep 15 13:16:28 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=61558

Change 61558 by jhb at jhb_slimer on 2004/09/15 20:15:47

	Don't spin forever as it does just spin forever it seems.  We
	seem to have a problem on both i386 and sparc64 where we get into
	some sort of condition where we can't send an IPI under load.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/local_apic.c#12 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/local_apic.c#12 (text+ko) ====

@@ -725,15 +725,9 @@
 		destfield = dest;
 	}
 
-#ifdef DETECT_DEADLOCK
 	/* Check for an earlier stuck IPI. */
 	if (!lapic_ipi_wait(BEFORE_SPIN))
 		panic("APIC: Previous IPI is stuck");
-#else
-	/* Wait for an earlier IPI to finish. */
-	if (!lapic_ipi_wait(-1))
-		panic("APIC: Previous IPI is stuck");
-#endif
 
 	lapic_ipi_raw(icrlo, destfield);
 


More information about the p4-projects mailing list