Page MenuHomeFreeBSD

kinfo_vmentry: report posix shm and path
ClosedPublic

Authored by kib on Mon, Oct 7, 8:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 3:33 AM
Unknown Object (File)
Sat, Oct 26, 3:27 PM
Unknown Object (File)
Sun, Oct 13, 9:46 AM
Unknown Object (File)
Wed, Oct 9, 1:46 PM
Unknown Object (File)
Wed, Oct 9, 12:33 AM
Unknown Object (File)
Tue, Oct 8, 5:19 PM
Unknown Object (File)
Tue, Oct 8, 12:39 PM
Unknown Object (File)
Tue, Oct 8, 5:41 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Mon, Oct 7, 8:32 AM
sys/kern/uipc_shm.c
952 ↗(On Diff #144369)

Why can't we use obj->handle rather than adding this new field? Looks like it is currently NULL for all POSIX shm objects.

2242 ↗(On Diff #144369)

Extra newline.

kib marked 2 inline comments as done.Tue, Oct 8, 12:30 PM
kib added inline comments.
sys/kern/uipc_shm.c
952 ↗(On Diff #144369)

Phys pager assumes that the object with a handle is on list. Fighting with it is IMO not worth it, the new field is in union' free space.

kib marked an inline comment as done.Tue, Oct 8, 12:32 PM
This revision is now accepted and ready to land.Tue, Oct 8, 12:36 PM