cvs commit: src/sys/ddb db_ps.c src/sys/i386/i386 genassym.c src/sys/kern init_main.c kern_fork.c kern_mutex.c kern_proc.c kern_thread.c sched_4bsd.c sched_ule.c subr_smp.c subr_witness.c src/sys/sys proc.h

John Baldwin jhb at FreeBSD.org
Thu Apr 10 10:41:16 PDT 2003


On 10-Apr-2003 Julian Elischer wrote:
> julian      2003/04/10 10:35:45 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/ddb              db_ps.c 
>     sys/i386/i386        genassym.c 
>     sys/kern             init_main.c kern_fork.c kern_mutex.c 
>                          kern_proc.c kern_thread.c sched_4bsd.c 
>                          sched_ule.c subr_smp.c subr_witness.c 
>     sys/sys              proc.h 
>   Log:
>   Move the _oncpu entry from the KSE to the thread.
>   The entry in the KSE still exists but it's purpose will change a bit
>   when we add the ability to lock a KSE to a cpu.

Why not add a ke_pincpu to hold the bound CPU?  Since KSE's are in
theory a kind of virtual CPU abstraction the thread really seems to
be the wrong place for this information.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-all mailing list