Skip to content

Add basic NetBSD support. #315

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add basic NetBSD support. #315

wants to merge 2 commits into from

Conversation

0-wiz-0
Copy link

@0-wiz-0 0-wiz-0 commented Aug 5, 2025

Based on FreeBSD support.

Based on FreeBSD support.
@meta-cla meta-cla bot added the cla signed label Aug 5, 2025
/* more details need active identification of the CPU, no sysctl available */
/* TODO: improve */
topology.threads = topology.cores;
topology.packages = 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this use the FreeBSD method instead?

@0-wiz-0
Copy link
Author

0-wiz-0 commented Aug 10, 2025

No, the sysctl's that FreeBSD has in this area just do not exist on NetBSD. See https://man.netbsd.org/sysctl.7

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants