git: kernel/vm: Fix a wrong check in vm_fault_page().

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 7 23:32:15 PST 2021


commit fbcf5d2e2f1508bf019f8da56ee1108f39e00dec
Author: Sascha Wildner <saw at online.de>
Date:   Mon Feb 8 08:31:29 2021 +0100

    kernel/vm: Fix a wrong check in vm_fault_page().
    
    It was calling pmam_remove() more often than intended because of
    wrong COW detection (the if() was always true).
    
    Approved-by: dillon

Summary of changes:
 sys/vm/vm_fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list