看板 DFBSD_commit 關於我們 聯絡資訊
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