git: kernel - Fix a 'vm_page_unhold: hold count < 0' panic in kern_execve()
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jun 9 13:30:36 PDT 2011
commit 7484bdd247ab74235adf702531f0d73ad4164424
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list