diff options
| author | Kefeng Wang <[email protected]> | 2024-06-18 17:12:41 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:30:20 -0700 |
| commit | 530dd9926dc16220d2fae0997f45cda94f5f0864 (patch) | |
| tree | b096a7c2e41f057f4ba5700bd337b75634d5607c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5132633ee7b46f3b62ae834539ae6ef74fd27873 (diff) | |
mm: memory: improve copy_user_large_folio()
Use nr_pages instead of pages_per_huge_page and move the address alignment
from copy_user_large_folio() into the callers since it is only needed when
we don't know which address will be accessed.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions