From owner-cvs-src@FreeBSD.ORG Fri Apr 15 00:34:24 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96CEB16A4CF for ; Fri, 15 Apr 2005 00:34:24 +0000 (GMT) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A8C743D46 for ; Fri, 15 Apr 2005 00:34:23 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from yongari@rndsoft.co.kr(192.168.5.90) by MailFilter v1.05 with ESMTP Processed in 0.129326 secs; 15 Apr 2005 09:32:38 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j3F0Y6lS007531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2005 09:34:06 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j3F0Y6tR007530; Fri, 15 Apr 2005 09:34:06 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Fri, 15 Apr 2005 09:34:06 +0900 From: Pyun YongHyeon To: John Baldwin Message-ID: <20050415003406.GA7393@michelle.rndsoft.co.kr> References: <200504141830.j3EIUAXY084080@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504141830.j3EIUAXY084080@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sparc64/sparc64 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 00:34:24 -0000 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