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

adding THP_PAGES option to disable transparent huge pages. #227

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

devnexen
Copy link
Contributor

In some scenarios, THP could lead to more memory fragmentations for example thus an new distinct option while the user can still wish huge pages.
simpler than using prctl api and also making it contained within isoalloc without touching system configurations.

In some scenarios, THP could lead to more memory fragmentations for
example thus an new distinct option while the user can still wish huge
pages.
simpler than using prctl api and also making it contained within
isoalloc without touching system configurations.
@struct
Copy link
Owner

struct commented Mar 15, 2024

Is this PR complete? This option looks duplicative of HUGE_PAGES as-is

@devnexen
Copy link
Contributor Author

Yes because you have both -DHUGE_PAGES=1 but -DTHP_PAGES=0

@struct struct merged commit e4d1a35 into struct:master Apr 21, 2024
10 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