From owner-cvs-all Sun Jul 14 0:47:23 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 1802A37B400; Sun, 14 Jul 2002 00:47:18 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C2343E58; Sun, 14 Jul 2002 00:47:17 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.3) with ESMTP id g6E7ooKk068673; Sun, 14 Jul 2002 03:50:50 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.3/Submit) id g6E7oo5w068672; Sun, 14 Jul 2002 03:50:50 -0400 (EDT) Date: Sun, 14 Jul 2002 03:50:49 -0400 From: Jake Burkholder To: Julian Elischer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys proc.h src/sys/kern init_main.c kern_fork.c kern_idle.c kern_proc.c kern_switch.c kern_synch.c kern_thread.c Message-ID: <20020714035049.H48985@locore.ca> References: <200207140343.g6E3hYSY016002@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200207140343.g6E3hYSY016002@freefall.freebsd.org>; from julian@FreeBSD.org on Sat, Jul 13, 2002 at 08:43:34PM -0700 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 Apparently, On Sat, Jul 13, 2002 at 08:43:34PM -0700, Julian Elischer said words to the effect of; > julian 2002/07/13 20:43:33 PDT > > Modified files: > sys/sys proc.h > sys/kern init_main.c kern_fork.c kern_idle.c > kern_proc.c kern_switch.c kern_synch.c > kern_thread.c > Log: > Thinking about it I came to the conclusion that the KSE states were incorrectly > formulated. The correct states should be: > IDLE: On the idle KSE list for that KSEG > RUNQ: Linked onto the system run queue. > THREAD: Attached to a thread and slaved to whatever state the thread is in. Maybe you should have thought about this before it was committed. Jake > > This means that most places where we were adjusting kse state can go away > as it is just moving around because the thread is.. > The only places we need to adjust the KSE state is in transition to and from > the idle and run queues. > > Reviewed by: jhb@freebsd.org > > Revision Changes Path > 1.198 +1 -1 src/sys/kern/init_main.c > 1.153 +1 -3 src/sys/kern/kern_fork.c > 1.24 +1 -5 src/sys/kern/kern_idle.c > 1.141 +0 -2 src/sys/kern/kern_proc.c > 1.33 +10 -131 src/sys/kern/kern_switch.c > 1.185 +4 -13 src/sys/kern/kern_synch.c > 1.6 +0 -3 src/sys/kern/kern_thread.c > 1.229 +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