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

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 7 23:34:17 PST 2021


commit 9349094e57d0245e4f3ab8c12e07ba3bb3b5b468
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 pmap_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/9349094e57d0245e4f3ab8c12e07ba3bb3b5b468


-- 
DragonFly BSD source repository


More information about the Commits mailing list