Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 03:50:49 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        Julian Elischer <julian@FreeBSD.org>
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>
In-Reply-To: <200207140343.g6E3hYSY016002@freefall.freebsd.org>; from julian@FreeBSD.org on Sat, Jul 13, 2002 at 08:43:34PM -0700
References:  <200207140343.g6E3hYSY016002@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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