cvs commit: src/sys/sys param.h proc.h src/sys/kern kern_synch.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 16 17:00:30 PDT 2003


dillon      2003/10/16 16:59:15 PDT

  Modified files:
    sys/sys              param.h proc.h 
    sys/kern             kern_synch.c 
  Log:
  Remove PUSER entirely.  Since p_priority has nothing to do with kernel
  thread priorities, the userland scheduler can now use the entire range 0-127.
  
  Document the estcpu and other macros related to the p_priority calculation.
  
  Adjust the default values such that a cpu bound nice -20 process will not
  completely starve a nice +0 process (though it gets close!).  Note that a
  nice +2 process will not run at all in the face of a cpu bound nice -20
  process.
  
  Revision  Changes    Path
  1.7       +0 -1      src/sys/sys/param.h
  1.33      +19 -10    src/sys/sys/proc.h
  1.24      +12 -17    src/sys/kern/kern_synch.c






More information about the Commits mailing list