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

Jeff Roberson jroberson at chesapeake.net
Thu Apr 10 22:32:20 PDT 2003


We discussed in email that we were missing some hooks.  I simply added
those hooks and fixed up ugly corners of the api.  Since it was originally
all my work and I got no feedback on the actual api I didn't think it
would be a problem.  I had an immediate need for the hooks in ule and that
need has been satisfied.

Cheers,
Jeff

On Thu, 10 Apr 2003, Julian Elischer wrote:

> discussed with: ????
> reviewed by: ????
>
>
> On Thu, 10 Apr 2003, Jeff Roberson wrote:
>
> > jeff        2003/04/10 20:39:07 PDT
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/sys              sched.h
> >     sys/kern             kern_clock.c kern_exit.c kern_fork.c
> >                          kern_resource.c
> >   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.
> >
> >   Revision  Changes    Path
> >   1.156     +1 -1      src/sys/kern/kern_clock.c
> >   1.209     +7 -11     src/sys/kern/kern_exit.c
> >   1.191     +1 -1      src/sys/kern/kern_fork.c
> >   1.122     +1 -1      src/sys/kern/kern_resource.c
> >   1.4       +17 -6     src/sys/sys/sched.h
> >
>



More information about the cvs-src mailing list