git: kernel - Fix panic/crash in vm_object_page_remove()
dillon at crater.dragonflybsd.org
Mon Oct 17 12:17:23 PDT 2016
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Oct 17 12:15:57 2016 -0700
kernel - Fix panic/crash in vm_object_page_remove()
* When vm_object_page_remove() is called with one page, the caller is allowed
to hold a spinlock (typically on that page). The callback is not supposed
to call user_yield in that situation.
* Fix missing initialization of info.count which could result in the callback
issuing a yield when it was not supposed to.
Summary of changes:
sys/vm/vm_object.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
DragonFly BSD source repository
More information about the Commits