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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Oct 17 12:17:57 PDT 2016


commit 6e9a03e9179971e1d9364355790e44003e077ae1
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.
    
    Reported-by: htse

Summary of changes:
 sys/vm/vm_object.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e9a03e9179971e1d9364355790e44003e077ae1


-- 
DragonFly BSD source repository



More information about the Commits mailing list