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

Jeff Roberson jeff at FreeBSD.org
Thu Apr 10 20:39:08 PDT 2003


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