git: kernel - misc MPSAFe work

看板DFBSD_commit作者時間16年前 (2009/12/20 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
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
文章代碼(AID): #1BBU48go (DFBSD_commit)
文章代碼(AID): #1BBU48go (DFBSD_commit)