git: kernel - Fix cumulative nprocs bug

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 26 11:17:43 PDT 2011


commit 8c2bce6000adc4c0de363231dc39a05aa310c3bd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 26 11:13:56 2011 -0700

    kernel - Fix cumulative nprocs bug
    
    * nprocs requires atomic ops now that the related code is MPSAFE.
    
    * Fixes issue reported w/pkgbox64 of the machine running out of processes
      unexpectedly.
    
    * Also move a wakeup() to outside p->p_token to improve concurrency and
      other minor adjustments.

Summary of changes:
 sys/kern/kern_exit.c |   21 ++++++++++++++-------
 sys/kern/kern_fork.c |    9 +++++----
 2 files changed, 19 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c2bce6000adc4c0de363231dc39a05aa310c3bd


-- 
DragonFly BSD source repository





More information about the Commits mailing list