git: kernel - Attempt to make procfs MPSAFE

看板DFBSD_commit作者時間14年前 (2011/11/16 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f44c73be8d3378d2d5c5444bbffa0fc63fff944d Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Nov 15 19:28:24 2011 -0800 kernel - Attempt to make procfs MPSAFE * pfs_pfind() now acquires the p->p_token in addition to its PHOLD(). * Replace PRELE()'s with pfs_pdone() which releases the token along with PRELE() * Double-check the validity of nch's passed to cache_fullpath(). This probably still needs work. Reported-by: swildner Summary of changes: sys/vfs/procfs/procfs.h | 1 + sys/vfs/procfs/procfs_ctl.c | 2 +- sys/vfs/procfs/procfs_subr.c | 19 ++++++++---- sys/vfs/procfs/procfs_vnops.c | 67 +++++++++++++++++++++++++---------------- 4 files changed, 56 insertions(+), 33 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f44c73be8d3378d2d5c5444bbffa0fc63fff944d -- DragonFly BSD source repository
文章代碼(AID): #1Emowsva (DFBSD_commit)