Date: Tue, 22 Aug 2006 11:04:01 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c Message-ID: <200608221104.k7MB41IG036149@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2006-08-22 11:04:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/compat/linprocfs linprocfs.c Log: MFC rev. 1.97: Lock the vnode around the call to VOP_GETATTR. Move the locked code and vn_fullpath (that call malloc(..., M_WAITOK)) from under the vm object lock, since sleep is not allowed while holding the mutex. Being there, wrap VOP_GETATTR call with conditional Giant aquire. Currently this is (almost) noop because pseudofs is Giant-locked. Approved by: pjd (mentor) Revision Changes Path 1.89.2.5 +16 -5 src/sys/compat/linprocfs/linprocfs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608221104.k7MB41IG036149>