From owner-cvs-all Thu Aug 29 17:25:54 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B2BC37B400; Thu, 29 Aug 2002 17:25:51 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2779643E6A; Thu, 29 Aug 2002 17:25:51 -0700 (PDT) (envelope-from julian@FreeBSD.org) Received: from freefall.freebsd.org (julian@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7U0PpJU006082; Thu, 29 Aug 2002 17:25:51 -0700 (PDT) (envelope-from julian@freefall.freebsd.org) Received: (from julian@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7U0PpRG006079; Thu, 29 Aug 2002 17:25:51 -0700 (PDT) Message-Id: <200208300025.g7U0PpRG006079@freefall.freebsd.org> From: Julian Elischer Date: Thu, 29 Aug 2002 17:25:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys proc.h src/sys/kern kern_switch.c kern_synch.c X-FreeBSD-CVS-Branch: HEAD 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 julian 2002/08/29 17:25:50 PDT Modified files: sys/sys proc.h sys/kern kern_switch.c kern_synch.c Log: Rejig the code to figure out estcpu and work out how long a KSEGRP has been idle. What was there before was surprisingly ALMOST correct. Peter and I fried our brains on this for a couple of hours figuring out what this actually means in the context of multiple threads. Reviewed by: peter@freebsd.org Revision Changes Path 1.36 +2 -0 src/sys/kern/kern_switch.c 1.195 +27 -17 src/sys/kern/kern_synch.c 1.239 +1 -1 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message