Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2005 09:34:06 +0900
From:      Pyun YongHyeon <yongari@rndsoft.co.kr>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sparc64/sparc64 machdep.c
Message-ID:  <20050415003406.GA7393@michelle.rndsoft.co.kr>
In-Reply-To: <200504141830.j3EIUAXY084080@repoman.freebsd.org>
References:  <200504141830.j3EIUAXY084080@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 14, 2005 at 06:30:10PM +0000, John Baldwin wrote:
 >   Log:
 >   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.
-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari@freebsd.org



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