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

git: kernel - limit allproc_scan() to snapshot


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

commit c5d9d57560d05fe0416a2a5c0f983a88b55a62c1
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Oct 26 11:15:47 2011 -0700

    kernel - limit allproc_scan() to snapshot
    
    * Limit the allproc_scan() to (roughly) a snapshot of nprocs processes.
      If we don't do this it is possible for the scan to race fork/exec'ing
      programs and essentially run forever.

Summary of changes:
 sys/kern/kern_proc.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c5d9d57560d05fe0416a2a5c0f983a88b55a62c1


-- 
DragonFly BSD source repository



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