Date: Fri, 19 Dec 2008 15:04:26 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c Message-ID: <200812191505.mBJF5tYs022563@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-12-19 15:04:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/linprocfs linprocfs.c sys/fs/procfs procfs_map.c Log: SVN rev 186323 on 2008-12-19 15:04:26Z by kib MFC r185765, r185766: Make two style changes to create new commit and document proper commit message for r185765. Commit message for r185765 should be: In procfs map handler, and in linprocfs maps handler, do not call vn_fullpath() while having vm map locked. This is done in anticipation of the vop_vptocnp commit, that would make vn_fullpath sometime acquire vnode lock. Also, in linprocfs, maps handler already acquires vnode lock. MFC r185864: Relock user map earlier, to have the lock held when break leaves the loop earlier due to sbuf error. Approved by: re (kensmith) Revision Changes Path 1.115.2.4 +24 -9 src/sys/compat/linprocfs/linprocfs.c 1.40.2.2 +29 -11 src/sys/fs/procfs/procfs_map.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812191505.mBJF5tYs022563>