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
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 
    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 
  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

More information about the Commits mailing list