kernel - misc MPSAFe work
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Dec 2009 06:18:37 +0000 (22:18 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 20 Dec 2009 06:40:10 +0000 (22:40 -0800)
commit61f96b6ff60acbd1692d0bffe07b5e1f262327dc
tree646e20424b133ca6ebeeab6c6b74ec5e2dfc9992
parent684a93c4b15cf9f678dcf209702dadcd4f670406
kernel - misc MPSAFe work

* prisoncount, prison_hold(), and prison_free() are now MPSAFE

* Remove spinlock from ucred

* Fix cr_ref race in crfree(), and crfree() is now fully MPSAFE.

* cache_hold(), cache_copy(), cache_changemount() are now MPSAFE.

* cache_drop() is not yet MPSAFE in the 1->0 transition case.

* nlookup_init() is now MPSAFE
sys/kern/kern_jail.c
sys/kern/kern_prot.c
sys/kern/kern_resource.c
sys/kern/vfs_cache.c
sys/kern/vfs_nlookup.c
sys/sys/ucred.h