git: kernel - Remove unneeded map token use from the vm_fault path.
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Feb 5 19:00:12 PST 2017
commit 73101af2cf10ca65e7be85f900483f9393940d23
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73101af2cf10ca65e7be85f900483f9393940d23
--
DragonFly BSD source repository
More information about the Commits
mailing list