DragonFly BSD
DragonFly commits List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - MPSAFE work - Remove unneeded token acquire/releases in vm_mmap.c


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 06:42:46 -0700 (PDT)

commit 8611a34052f23b4b66f34134c0885670751d8f87
Author: Venkatesh Srinivas <me@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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8611a34052f23b4b66f34134c0885670751d8f87


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]