diff options
| author | Zi Yan <[email protected]> | 2024-03-20 14:02:13 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:04 -0700 |
| commit | f37c0f6876a8eabe1477c87860460bc181f6cdbb (patch) | |
| tree | 751e45d6b3c807a9178d9d26a362c0888b9c756c /tools/perf/scripts/python | |
| parent | 55612e80e722ac554cc5e80df05555b4f8d40c37 (diff) | |
mm: page_alloc: set migratetype inside move_freepages()
This avoids changing migratetype after move_freepages() or
move_freepages_block(), which is error prone. It also prepares for
upcoming changes to fix move_freepages() not moving free pages partially
in the range.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zi Yan <[email protected]>
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Tested-by: Baolin Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions