diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2024-04-25 20:56:04 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-25 20:56:04 -0700 |
| commit | e1f42a577f63647dadf1abe4583053c03d6be045 (patch) | |
| tree | bc50591da1476bc88471a4329398c659da8b625e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e0932b6c1f942fa747258e152cdce0d0b2b5be5c (diff) | |
| download | linux-e1f42a577f63647dadf1abe4583053c03d6be045.tar.gz linux-e1f42a577f63647dadf1abe4583053c03d6be045.zip | |
mm: page_alloc: change move_freepages() to __move_freepages_block()
The function is now supposed to be called only on a single pageblock and
checks start_pfn and end_pfn accordingly. Rename it to make this more
obvious and drop the end_pfn parameter which can be determined trivially
and none of the callers use it for anything else.
Also make the (now internal) end_pfn exclusive, which is more common.
Link: https://lkml.kernel.org/r/81b1d642-2ec0-49f5-89fc-19a3828419ff@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
