Date: Tue, 2 Mar 2004 11:30:22 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48004 for review Message-ID: <200403021930.i22JUMid098668@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48004 Change 48004 by peter@peter_daintree on 2004/03/02 11:29:20 IFi386: stuck ipi detection Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/local_apic.c#33 integrate Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/local_apic.c#33 (text+ko) ==== @@ -696,8 +696,8 @@ intr_restore(eflags); } +#define BEFORE_SPIN 1000000 #ifdef DETECT_DEADLOCK -#define BEFORE_SPIN 1000000 #define AFTER_SPIN 1000 #endif @@ -728,11 +728,9 @@ destfield = dest; } -#ifdef DETECT_DEADLOCK - /* Check for an earlier stuck IPI. */ + /* Wait for an earlier IPI to finish. */ if (!lapic_ipi_wait(BEFORE_SPIN)) 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?200403021930.i22JUMid098668>