git: DragonFly_RELEASE_4_6 kernel - Fix VM bug introduced earlier this month

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 25 17:37:04 PDT 2016


commit bc2be5ee4c521f03988d6d8d155c2fb41a1a8150
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 25 17:06:52 2016 -0700

    kernel - Fix VM bug introduced earlier this month
    
    * Adding the yields to the VM page teardown and related code was a great
      idea (~Jul 10th commits), but it also introduced a bug where the page
      could get torn-out from under the scan due to the vm_object's token being
      temporarily lost.
    
    * Re-check page object ownership and (when applicable) its pindex before
      acting on the page.

Summary of changes:
 sys/vm/vm_object.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 52 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc2be5ee4c521f03988d6d8d155c2fb41a1a8150


-- 
DragonFly BSD source repository



More information about the Commits mailing list