Searched hist:161094 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sys/compat/linprocfs/
H A Dlinprocfs.cdiff 161094 Tue Aug 08 10:29:26 MDT 2006 kib 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.

Tested by: kris
Approved by: pjd (mentor)
MFC after: 2 weeks

Completed in 81 milliseconds