git: kernel - loadavg structure 32->64 bit fields

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 12 11:41:34 PDT 2017


commit 41ca9afb26bd2f0654acb8462f6abe441e329f80
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 12 11:16:26 2017 -0700

    kernel - loadavg structure 32->64 bit fields
    
    * The loadavg structure overflows when a large number of processes
      are running.  Yes, I in fact got it to overflow.  Change the load
      fields from 32 to 64 bits.
    
    * Tested to 400,000 runnable processes.

Summary of changes:
 sys/kern/kern_synch.c | 2 +-
 sys/sys/resource.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/41ca9afb26bd2f0654acb8462f6abe441e329f80


-- 
DragonFly BSD source repository


More information about the Commits mailing list