Skip to content
New issue

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

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

Already on GitHub? # 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)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant