看板 DFBSD_commit 關於我們 聯絡資訊
commit 61f96b6ff60acbd1692d0bffe07b5e1f262327dc Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Dec 19 22:18:37 2009 -0800 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 Summary of changes: sys/kern/kern_jail.c | 33 ++++++++++++++++++++++++++------- sys/kern/kern_prot.c | 16 ++++++---------- sys/kern/kern_resource.c | 5 ++--- sys/kern/vfs_cache.c | 37 +++++++++++++++++++++++++------------ sys/kern/vfs_nlookup.c | 2 ++ sys/sys/ucred.h | 1 - 6 files changed, 61 insertions(+), 33 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/61f96b6ff60acbd1692d0bffe07b5e1f262327dc -- DragonFly BSD source repository