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: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Jun 2011 01:43:03 -0700 (PDT)

commit 3caf6b8870a1a29315c6a32d82c54a32169af0fb
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/3caf6b8870a1a29315c6a32d82c54a32169af0fb


-- 
DragonFly BSD source repository



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