diff options
| author | ZhangPeng <[email protected]> | 2023-04-10 21:39:31 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:55 -0700 |
| commit | c0e8150e144b62ae467520d0b51c4707c09e897b (patch) | |
| tree | 45782ad309f25dd987cfd26d043a550ebda5deb4 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 0169fd518a8934d8d723659752b07589ecc9f692 (diff) | |
mm: convert copy_user_huge_page() to copy_user_large_folio()
Replace copy_user_huge_page() with copy_user_large_folio().
copy_user_large_folio() does the same as copy_user_huge_page(), but takes
in folios instead of pages. Remove pages_per_huge_page from
copy_user_large_folio(), because we can get that from folio_nr_pages(dst).
Convert copy_user_gigantic_page() to take in folios.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: ZhangPeng <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Nanyong Sun <[email protected]>
Cc: Sidhartha Kumar <[email protected]>
Cc: Vishal Moola (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions