diff options
| author | Kefeng Wang <[email protected]> | 2023-09-21 15:44:14 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-16 15:44:37 -0700 |
| commit | 6695cf68b15c215d33b8add64c33e01e3cbe236c (patch) | |
| tree | fb526a833dc5af80b49f27c785c5b61c2495787f /tools/perf/scripts/python | |
| parent | 667ffc31aa95e7023707924b08415523208bce9d (diff) | |
mm: memory: use a folio in do_numa_page()
Numa balancing only try to migrate non-compound page in do_numa_page(),
use a folio in it to save several compound_head calls, note we use
folio_estimated_sharers(), it is enough to check the folio sharers since
only normal page is handled, if large folio numa balancing is supported, a
precise folio sharers check would be used, no functional change intended.
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: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions