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

git: kernel - Fix cumulative nprocs bug


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Oct 2011 11:16:43 -0700 (PDT)

commit 8c2bce6000adc4c0de363231dc39a05aa310c3bd
Author: Matthew Dillon <dillon@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



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