git: kernel - Remove unneeded map token use from the vm_fault path.
dillon at crater.dragonflybsd.org
Sun Feb 5 19:00:12 PST 2017
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Feb 5 18:56:45 2017 -0800
kernel - Remove unneeded map token use from the vm_fault path.
* vm_fault() and vm_fault_page() does not need to hold the map_token.
They already hold the standard vm_map lock.
* This improves re-faulting in a multi-threaded environment, resulting
in a fully shared-lock and essentially uncontended path. It will not
improve initial faulting where a vm_page has to be allocated into the
backing vm_object (which requires an exclusive object token).
Summary of changes:
sys/vm/vm_fault.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
DragonFly BSD source repository
More information about the Commits