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

fadvise64: implement POSIX_FADV_DONTNEED #1283

Open
wjhun opened this issue Sep 15, 2020 · 0 comments
Open

fadvise64: implement POSIX_FADV_DONTNEED #1283

wjhun opened this issue Sep 15, 2020 · 0 comments

Comments

@wjhun
Copy link
Contributor

wjhun commented Sep 15, 2020

This fadvise option could be wired up to evict pages from the pagecache by name. From fadvise64(2):

POSIX_FADV_DONTNEED attempts to free cached pages associated with the specified region. This is useful, for example, while streaming large files. A program may periodically request the kernel to free cached data that has already been used, so that more useful cached pages are not discarded instead.

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