git: DragonFly_RELEASE_3_4 powerd - Fix load factor calculation bug for niced processes

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 18 10:19:22 PDT 2013


commit 02ddb382f84a97e94af039d445aa74d40bbfba88
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Apr 18 10:17:49 2013 -0700

    powerd - Fix load factor calculation bug for niced processes
    
    * A type-o in the load calculation code was not counting niced
      processes at all, so if you have a lot of niced processes
      (like ffmpeg's which nice themselves down), powerd can wind
      up restricting them all to a single cpu.  Doh!

Summary of changes:
 usr.sbin/powerd/powerd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/02ddb382f84a97e94af039d445aa74d40bbfba88


-- 
DragonFly BSD source repository



More information about the Commits mailing list