diff options
| author | Sidhartha Kumar <[email protected]> | 2023-01-25 09:05:33 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-13 15:54:29 -0800 |
| commit | d0ce0e47b323a8d7fb5dc3314ce56afa650ade2d (patch) | |
| tree | c9908f5393ea65eafbcf8ac63d1cf9aa8600b57f /tools/perf/scripts/python/flamegraph.py | |
| parent | ea8e72f4116a995c2aba3fb738ac372c4115375a (diff) | |
mm/hugetlb: convert hugetlb fault paths to use alloc_hugetlb_folio()
Change alloc_huge_page() to alloc_hugetlb_folio() by changing all callers
to handle the now folio return type of the function. In this conversion,
alloc_huge_page_vma() is also changed to alloc_hugetlb_folio_vma() and
hugepage_add_new_anon_rmap() is changed to take in a folio directly. Many
additions of '&folio->page' are cleaned up in subsequent patches.
hugetlbfs_fallocate() is also refactored to use the RCU +
page_cache_next_miss() API.
Link: https://lkml.kernel.org/r/[email protected]
Suggested-by: Mike Kravetz <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Sidhartha Kumar <[email protected]>
Cc: Gerald Schaefer <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions