diff options
| author | Kaiyang Zhao <[email protected]> | 2024-08-01 18:04:56 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:58 -0700 |
| commit | 6d192303e82c7f7119020418a4c3029bebf9a0e6 (patch) | |
| tree | dd059a5859c333cbaa86d0ef2d9cda22196f4ca0 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 81920438a6dce78e6eac17ee34f29bf6c32074b1 (diff) | |
mm: consider CMA pages in watermark check for NUMA balancing target node
Currently in migrate_balanced_pgdat(), ALLOC_CMA flag is not passed when
checking watermark on the migration target node. This does not match the
gfp in alloc_misplaced_dst_folio() which allows allocation from CMA.
This causes promotion failures when there are a lot of available CMA
memory in the system.
Therefore, we change the alloc_flags passed to zone_watermark_ok() in
migrate_balanced_pgdat().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kaiyang Zhao <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions