git: kernel - MPSAFE work - Remove unneeded token acquire/releases in vm_mmap.c
vsrinivas at crater.dragonflybsd.org
Mon Jun 14 06:44:48 PDT 2010
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date: Mon Jun 14 06:34:17 2010 -0700
kernel - MPSAFE work - Remove unneeded token acquire/releases in vm_mmap.c
Many calls in vm_mmap did not need to hold the vm_token; the underlying
vm_map_* calls are self-synchronizing via a lockmgr lock on the map itself and
the rest of the calls were synchronized by taking tokens.
Comment the remaining token acquires/releases.
'Less Lock, More Rock'
Summary of changes:
sys/vm/vm_mmap.c | 47 +++++++++++++++++++++++++----------------------
1 files changed, 25 insertions(+), 22 deletions(-)
DragonFly BSD source repository
More information about the Commits