cvs commit: src/sys/sparc64/sparc64 machdep.c
yongari at rndsoft.co.kr
Thu Apr 14 17:34:24 PDT 2005
On Thu, Apr 14, 2005 at 06:30:10PM +0000, John Baldwin wrote:
> Close a race I introduced in the spinlock_* changes. We need to finish
> disabling interrupts before updating the saved pil in the thread. If we
> save the value first then it can be clobbered if an interrupt comes in
> and the interrupt handler tries to acquire a spin lock.
> Submitted by: marius
This fixes mysterious systat report when em(4) is very busy.
Thanks a lot.
http://www.kr.freebsd.org/~yongari | yongari at freebsd.org
More information about the cvs-src