git: kernel - Fix panic/crash in vm_object_page_remove()

Matthew Dillon dillon at
Mon Oct 17 12:17:23 PDT 2016

commit 51424739a9a596084144dc78197ad06b53f2f293
Author: Matthew Dillon <dillon at>
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.
    Reported-by: htse

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 mailing list