cvs commit: src/sys/sys proc.h src/sys/kern kern_exit.c kern_fork.c

Matthew Dillon dillon at
Sat Mar 20 15:35:57 PST 2004

dillon      2004/03/20 15:35:18 PST

DragonFly src repository

  Modified files:
    sys/sys              proc.h 
    sys/kern             kern_exit.c kern_fork.c 
  Add a missing resetpriority() which was causing all newly forked processes
  to get realtime priority until the next reschedule.  This permanently fixes
  the 'jerky X pointer' problem.
  Redo the parent estcpu inheritance code, make it much smarter by giving
  child processes a small initial batch priority boost relative to the parent
  and then allowing them to float back down if they are interactive, and
  take this into account when aggregating the child's estcpu back into the
  parent when the child exits.  This handles initial conditions for batch
  Revision  Changes    Path
  1.46      +2 -1      src/sys/sys/proc.h
  1.32      +7 -15     src/sys/kern/kern_exit.c
  1.20      +8 -2      src/sys/kern/kern_fork.c

More information about the Commits mailing list