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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Apr 2013 10:18:49 -0700 (PDT)

commit 3eee038f3b9464c9cd81498d7d2e3c16f252ba5a
Author: Matthew Dillon <dillon@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/3eee038f3b9464c9cd81498d7d2e3c16f252ba5a


-- 
DragonFly BSD source repository



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