Skip to content

[gc-stats][freebsd] Exclude the runtime events ring from max RSS on FreeBSD - #158

Open
ngorogiannis wants to merge 1 commit into
win-rss-without-ringfrom
freebsd-rss-without-ring
Open

ngorogiannis wants to merge 1 commit into
win-rss-without-ringfrom
freebsd-rss-without-ring

Conversation

@ngorogiannis

Copy link
Copy Markdown
Collaborator

Read the child's VM map via KERN_PROC_VMMAP and subtract the resident
pages of the entries backed by the ring file, matched by inode, then by
fsid or path. Skip the attribution when
kern.proc_vmmap_skip_resident_count is set.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@ngorogiannis
ngorogiannis added this pull request to stack #156 September 30, 2026 07:54
@ngorogiannis
ngorogiannis force-pushed the freebsd-rss-without-ring branch from eb3552d to 7824f96 Compare September 30, 2026 07:55
@ngorogiannis
ngorogiannis force-pushed the freebsd-rss-without-ring branch 3 times, most recently from 135e6a3 to 8fda5e9 Compare November 10, 2026 18:27
@ngorogiannis
ngorogiannis marked this pull request as draft November 11, 2026 08:03
@ngorogiannis
ngorogiannis force-pushed the freebsd-rss-without-ring branch 7 times, most recently from d117864 to 2ef1c78 Compare November 17, 2026 17:16
@ngorogiannis
ngorogiannis force-pushed the freebsd-rss-without-ring branch from 2ef1c78 to e3bbe09 Compare November 18, 2026 15:53
@ngorogiannis
ngorogiannis marked this pull request as ready for review November 18, 2026 15:54
…reeBSD

Read the child's VM map via KERN_PROC_VMMAP and subtract the resident
pages of the entries backed by the ring file, matched by inode, then by
fsid or path. Skip the attribution when
kern.proc_vmmap_skip_resident_count is set.
@ngorogiannis
ngorogiannis force-pushed the freebsd-rss-without-ring branch from e3bbe09 to 47c56a1 Compare November 18, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant