git: kernel - MPSAFE work - tokenize vm/vm_map.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jun 11 22:08:18 PDT 2010
commit 46754a204a3e8cb4687737e63faa17b3dddef53d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jun 11 22:01:34 2010 -0700
kernel - MPSAFE work - tokenize vm/vm_map.c
* Tokenize vm/vm_map.c. Also mark vm_init.c as being MPSAFE.
* Replace ++vm->vm_exitingcnt with an API call vmspace_exitbump().
* Add an argument to vm_map_check_protection() to fix an issue where
it was sometimes being called with the vm_map lock held and sometimes
not.
* Redo most of the code comments in vm_map.c
Summary of changes:
sys/kern/kern_exit.c | 2 +-
sys/kern/sys_process.c | 2 +-
sys/vm/vm_extern.h | 1 +
sys/vm/vm_glue.c | 10 +-
sys/vm/vm_init.c | 2 +
sys/vm/vm_map.c | 817 ++++++++++++++++++++++++++----------------------
sys/vm/vm_map.h | 5 +-
sys/vm/vm_mmap.c | 3 +-
sys/vm/vm_vmspace.c | 2 +-
9 files changed, 464 insertions(+), 380 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46754a204a3e8cb4687737e63faa17b3dddef53d
--
DragonFly BSD source repository
More information about the Commits
mailing list