From owner-cvs-all Fri Jun 7 9:55:18 2002 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 15F1237B404; Fri, 7 Jun 2002 09:55:10 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g57GsfY79563; Fri, 7 Jun 2002 10:54:41 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g57GsbG99947; Fri, 7 Jun 2002 10:54:40 -0600 (MDT) (envelope-from imp@village.org) Date: Fri, 07 Jun 2002 10:54:17 -0600 (MDT) Message-Id: <20020607.105417.122245999.imp@village.org> To: jhb@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, dwmalone@maths.tcd.ie Subject: Re: cvs commit: src/sys/kern kern_sig.c From: "M. Warner Losh" In-Reply-To: References: <20020607.095516.116907129.imp@village.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: John Baldwin writes: : : On 07-Jun-2002 M. Warner Losh wrote: : > In message: : > John Baldwin writes: : >: You mean the SIGXCPU that is commented out in mi_switch()? It will : >: be turned back on when I or someone else figures out how to do it : >: safely. :) : > : > I thought that was commented out due to a bug where time would go : > backwards every so often, causing there to be 2^32 or so time to be : > charged to the process, which put it over the limit. : : It's commented out because of locking problems. mi_switch() is often : called with p_stat set to something else like SSLEEP or what not. If : we block on the proc lock to do the psignal, then when we finally get : the lock p_stat will be SRUN. We might be able to do the check at the : very end of mi_switch() though. OK. I was getting confused between this bug and an older, timecounter bug from 2.2.x Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message