Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

sysconf: Add default hugepage support on Linux #11

Closed
joshlf opened this issue Aug 12, 2017 · 1 comment
Closed

sysconf: Add default hugepage support on Linux #11

joshlf opened this issue Aug 12, 2017 · 1 comment

Comments

@joshlf
Copy link
Collaborator

joshlf commented Aug 12, 2017

Currently, priv_default_hugepage on Linux always returns None.

We need to implement it. It consists of parsing /proc/meminfo' looking for a line of the form Hugepagesize: xxx kB. What makes this tricky is that it has to be done using only libc`, and without heap allocation.

@joshlf
Copy link
Collaborator Author

joshlf commented Aug 31, 2017

Now that sysconf has been merged into the existing sysconf crate on crates.io, this issue has been moved there, so I'm closing this.

@joshlf joshlf closed this as completed Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant