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

Add eager_return option to call MADV_DONTNEED on non-cached frees #35

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

antiguru
Copy link
Owner

Add a configuration option that will cause lgalloc to clear memory using MADV_DONTNEED when returning memory to the global pool. The local cache will not be cleared.

cc @danhhz

@antiguru antiguru force-pushed the eager_return branch 2 times, most recently from abf2fcd to dc4d1a6 Compare February 21, 2024 15:16
Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
@antiguru antiguru merged commit ef44a03 into main Feb 21, 2024
10 checks passed
@antiguru antiguru deleted the eager_return branch February 21, 2024 15:25
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