git: kernel - Fix VM bug introduced earlier this month

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 25 17:36:39 PDT 2016


commit 120ac5dd96c9a4689e25b09a8feb47df823c687d
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/120ac5dd96c9a4689e25b09a8feb47df823c687d


-- 
DragonFly BSD source repository



More information about the Commits mailing list