HomeFreeBSD

Provide vnode in memory map info for files on tmpfs

Description

Provide vnode in memory map info for files on tmpfs

When providing memory map information to userland, populate the vnode pointer
for tmpfs files. Set the memory mapping to appear as a vnode type, to match
FreeBSD 9 behavior.

This fixes the use of tmpfs files with the dtrace pid provider,
procstat -v, procfs, linprocfs, pmc (pmcstat), and ptrace (PT_VM_ENTRY).

Submitted by: Eric Badger <eric@badgerio.us> (initial revision)
Obtained from: Dell Inc.
PR: 198431
MFC after: 2 weeks
Reviewed by: jhb
Approved by: kib (mentor)

Details

Provenance
vangyzenAuthored on
Reviewer
jhb
Parents
rS283923: Simplify hang detection by stealing the techniques used in ixl(4) and
Branches
Unknown
Tags
Unknown