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

tools/readahead: fail to attach tofilemap_alloc_folio_noprof with CONFIG_NUMA disabled #5087

Open
ShawnZhong opened this issue Aug 24, 2024 · 0 comments

Comments

@ShawnZhong
Copy link
Contributor

The function filemap_alloc_folio_noprof is guarded behind #ifdef CONFIG_NUMA:

We may want to attach to folio_alloc_noprof instead if filemap_alloc_folio_noprof does not exist.
In older kernel versions before torvalds/linux@b951aaf, folio_alloc needs to be used when filemap_alloc_folio does not exist (i.e., without the _noprof suffix)

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

No branches or pull requests

1 participant