]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove race condition between reading of MSR, setting md_savecrit,
authorgrehan <grehan@FreeBSD.org>
Tue, 3 Aug 2004 04:14:55 +0000 (04:14 +0000)
committergrehan <grehan@FreeBSD.org>
Tue, 3 Aug 2004 04:14:55 +0000 (04:14 +0000)
commit2f05904e1888f800b4dbb1588415900b79af2603
tree8611c992abb8a7230630b4bdb79baecab27abd52
parente327e6bd591c088aa916f68246d3ff4dfc0bd1e0
Remove race condition between reading of MSR, setting md_savecrit,
and setting MSR. This was most evident with the idle proc running
with interrupts disabled and causing a lockup. Switch over to the
i386 style which does things in the right order.

debug assisted by:  gallatin, and the invaluable KTR option.
sys/powerpc/include/critical.h