cvs commit: src/sys/sys sched.h src/sys/kern kern_clock.c kern_exit.c kern_fork.c kern_resource.c

David Xu davidxu at freebsd.org
Thu Apr 10 22:09:35 PDT 2003


I know julian is working on KSE scheduler abstract,
possible you should discuss with him before committing this.

David Xu

----- Original Message -----=20
From: "Jeff Roberson" <jeff at FreeBSD.org>
To: <src-committers at FreeBSD.org>; <cvs-src at FreeBSD.org>; =
<cvs-all at FreeBSD.org>
Sent: Friday, April 11, 2003 11:39 AM
Subject: cvs commit: src/sys/sys sched.h src/sys/kern kern_clock.c =
kern_exit.c kern_fork.c kern_resource.c


> jeff        2003/04/10 20:39:07 PDT
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     sys/sys              sched.h=20
>     sys/kern             kern_clock.c kern_exit.c kern_fork.c=20
>                          kern_resource.c=20
>   Log:
>    - Adjust sched hooks for fork and exec to take processes as =
arguments instead
>      of ksegs since they primarily operation on processes.
>    - KSEs take ticks so pass the kse through sched_clock().
>    - Add a sched_class() routine that adjusts a ksegrp pri class.
>    - Define a sched_fork_{kse,thread,ksegrp} and =
sched_exit_{kse,thread,ksegrp}
>      that will be used to tell the scheduler about new instances of =
these
>      structures within the same process.  These will be used by THR =
and KSE.
>    - Change sched_4bsd to reflect this API update.




More information about the cvs-src mailing list