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.
14 files changed: