kernel - MPSAFE work - tokenize vm/vm_map.c
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Jun 2010 05:01:34 +0000 (22:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Jun 2010 05:01:34 +0000 (22:01 -0700)
commit46754a204a3e8cb4687737e63faa17b3dddef53d
treeb9c5a3d4242f598e7f8eda0157940a1ebb132463
parentd39d3c43df31677496067ecffd73216c4ee6ad78
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
sys/kern/kern_exit.c
sys/kern/sys_process.c
sys/vm/vm_extern.h
sys/vm/vm_glue.c
sys/vm/vm_init.c
sys/vm/vm_map.c
sys/vm/vm_map.h
sys/vm/vm_mmap.c
sys/vm/vm_vmspace.c