cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_kse.c
kern_thr.c kern_thread.c sched_4bsd.c sched_ule.c src/sys/sys
sched.h
Julian Elischer
julian at FreeBSD.org
Sun Jul 18 16:36:13 PDT 2004
julian 2004-07-18 23:36:13 UTC
FreeBSD src repository
Modified files:
sys/kern kern_exit.c kern_fork.c kern_kse.c
kern_thr.c kern_thread.c sched_4bsd.c
sched_ule.c
sys/sys sched.h
Log:
When calling scheduler entrypoints for creating new threads and processes,
specify "us" as the thread not the process/ksegrp/kse.
You can always find the others from the thread but the converse is not true.
Theorotically this would lead to runtime being allocated to the wrong
entity in some cases though it is not clear how often this actually happenned.
(would only affect threaded processes and would probably be pretty benign,
but it WAS a bug..)
Reviewed by: peter
Revision Changes Path
1.242 +1 -1 src/sys/kern/kern_exit.c
1.230 +1 -1 src/sys/kern/kern_fork.c
1.186 +2 -2 src/sys/kern/kern_kse.c
1.23 +2 -2 src/sys/kern/kern_thr.c
1.189 +2 -2 src/sys/kern/kern_thread.c
1.46 +14 -14 src/sys/kern/sched_4bsd.c
1.117 +18 -15 src/sys/kern/sched_ule.c
1.14 +6 -6 src/sys/sys/sched.h
More information about the cvs-src
mailing list