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

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


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

commit 02ddb382f84a97e94af039d445aa74d40bbfba88
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/02ddb382f84a97e94af039d445aa74d40bbfba88


-- 
DragonFly BSD source repository



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