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

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Mar 2004 15:35:18 -0800 (PST)

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


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