git: kernel - Expand p_nice effect more, fix %cpu calculation bug

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 19 21:24:34 PST 2017


commit 77eaab6994cc6edbf11b7ece6ea841c7795e4374
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 19 21:23:15 2017 -0800

    kernel - Expand p_nice effect more, fix %cpu calculation bug
    
    * Expand the p_nice effect even more.
    
    * Fix a %cpu calculation bug which could improperly cause the
      lwp->lwp_priority to be reset to its base level, potentially giving
      a cpu-bound process more cpu than intended.

Summary of changes:
 sys/kern/usched_dfly.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/77eaab6994cc6edbf11b7ece6ea841c7795e4374


-- 
DragonFly BSD source repository


More information about the Commits mailing list