Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 20:16:26 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 61558 for review
Message-ID:  <200409152016.i8FKGQHs099371@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 61558 by jhb@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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409152016.i8FKGQHs099371>