Skip to content

Refactor BSD os::rss and os::Bsd::get_process_uid - #66

Merged
snake66 merged 2 commits into
battleblow:bsd-portfrom
snake66:battleblow-bsd-port--os-bsd-get-process-uid
Jul 14, 2026
Merged

Refactor BSD os::rss and os::Bsd::get_process_uid#66
snake66 merged 2 commits into
battleblow:bsd-portfrom
snake66:battleblow-bsd-port--os-bsd-get-process-uid

Conversation

@snake66

@snake66 snake66 commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Moved the common sysctl call to a helper function bsd_get_procinfo, and simplified it a bit.

This work is sponsored by The FreeBSD Foundation


Moved the common sysctl call to a helper function `bsd_get_procinfo`,
and simplified it a bit.

This work is sponsored by The FreeBSD Foundation
@snake66
snake66 requested review from battleblow and bsdkurt July 12, 2026 10:28
This work is sponsored by The FreeBSD Foundation

@bsdkurt bsdkurt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement and code reduction.

@snake66
snake66 merged commit d57b43d into battleblow:bsd-port Jul 14, 2026
247 of 250 checks passed
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.

2 participants