Page MenuHomeFreeBSD

kinfo_vmentry: report posix shm and path
ClosedPublic

Authored by kib on Oct 7 2024, 8:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 11:09 AM
Unknown Object (File)
Mon, Oct 13, 3:41 AM
Unknown Object (File)
Wed, Sep 17, 3:43 AM
Unknown Object (File)
Mon, Sep 15, 10:24 PM
Unknown Object (File)
Sep 14 2025, 10:49 AM
Unknown Object (File)
Sep 13 2025, 6:21 AM
Unknown Object (File)
Sep 12 2025, 6:18 PM
Unknown Object (File)
Sep 11 2025, 1:23 PM
Subscribers

Diff Detail

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

Event Timeline

kib requested review of this revision.Oct 7 2024, 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.Oct 8 2024, 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.Oct 8 2024, 12:32 PM
This revision is now accepted and ready to land.Oct 8 2024, 12:36 PM