cvs commit: src/sys/kern init_main.c kern_exit.c kern_fork.c kern_resource.c kern_synch.c usched_bsd4.c src/sys/sys proc.h usched.h src/sys/vm vm_glue.c vm_pageout.c src/sys/conf files src/sys/i386/i386 machdep.c trap.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jun 25 13:05:54 PDT 2005
dillon 2005/06/25 13:03:34 PDT
DragonFly src repository
Modified files:
sys/kern init_main.c kern_exit.c kern_fork.c
kern_resource.c kern_synch.c
usched_bsd4.c
sys/sys proc.h
sys/vm vm_glue.c vm_pageout.c
sys/conf files
sys/i386/i386 machdep.c trap.c
Added files:
sys/sys usched.h
Log:
Associate a userland scheduler control structure with every process and
call userland scheduling functions through that structure. Note that the
proc structure already had a field reserved for this purpose so it actually
doesn't change size.
The child of a fork() inherits the parent's userland scheduler control
structure pointer.
Move uio_yield() to a scheduler-independant file, and do some minor
cleanups of already #ifdef'd out code.
Repo-Rename usched_4bsd.c to usched_bsd4.c, so the file matches the function
prefixes I want to use.
Believe it or not, this should not represent any operational code changes
other then changing some previously direct function calls into indirect
calls through the new p_usched field in the process structure.
Revision Changes Path
1.45 +1 -1 src/sys/kern/init_main.c
1.42 +1 -1 src/sys/kern/kern_exit.c
1.34 +9 -3 src/sys/kern/kern_fork.c
1.22 +1 -1 src/sys/kern/kern_resource.c
1.44 +38 -5 src/sys/kern/kern_synch.c
1.25 +39 -72 src/sys/kern/usched_bsd4.c
1.57 +3 -8 src/sys/sys/proc.h
1.32 +1 -1 src/sys/vm/vm_glue.c
1.13 +1 -1 src/sys/vm/vm_pageout.c
1.95 +1 -1 src/sys/conf/files
1.76 +1 -0 src/sys/i386/i386/machdep.c
1.59 +4 -4 src/sys/i386/i386/trap.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/usched_bsd4.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.94&r2=1.95&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.75&r2=1.76&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/trap.c.diff?r1=1.58&r2=1.59&f=u
More information about the Commits
mailing list