DragonFly BSD
DragonFly commits List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2003 16:59:15 -0700 (PDT)

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]