git: kernel - MPSAFE work - Remove unneeded token acquire/releas

看板DFBSD_commit作者時間15年前 (2010/06/15 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1C5cvdTS (DFBSD_commit)