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

git: kernel - Fix a 'vm_page_unhold: hold count < 0' panic in kern_execve()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Jun 2011 13:30:07 -0700 (PDT)

commit 7484bdd247ab74235adf702531f0d73ad4164424
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jun 9 13:28:08 2011 -0700

    kernel - Fix a 'vm_page_unhold: hold count < 0' panic in kern_execve()
    
    * imgp->firstpage is preloaded with lwbuf storage but we failed to NULL
      it out on error, causing the code to later attempt to release a bogus
      lwbuf.
    
    * Fixes a hold count panic on random vm_page's.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7484bdd247ab74235adf702531f0d73ad4164424


-- 
DragonFly BSD source repository



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