On Feb 10, 2010, at 1:15 AM, Kostik Belousov wrote: > > Vnode locks are before vm map locks in global lock order. vn_fullpath() > may need to lock vnodes to call VOP_VPTOCNP(). I think you should (and > can) drop both vm map lock and vmspace reference much earlier. > > Would it be cleaner to use explicitely sized types for compat32 > structure members ?
I don't know. I prefer to keep them identical for as much as that's possible. > Comparing ptrace_vm_entry with kinfo_vmentry, I think that it might > be good idea to add fsid and inode number to ptrace_vm_entry, to > give at least some information when vn_fullpath failed. How about the attached new path (includes man page as well)? -- Marcel Moolenaar xcl...@mac.com
ptrace.diff
Description: Binary data
_______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"