]> Git Repo - linux.git/commit
mm: page_alloc: avoid merging non-fallbackable pageblocks with others
authorZi Yan <[email protected]>
Tue, 22 Mar 2022 21:43:05 +0000 (14:43 -0700)
committerLinus Torvalds <[email protected]>
Tue, 22 Mar 2022 22:57:05 +0000 (15:57 -0700)
commit1dd214b8f21ca46d5431be9b2db8513c59e07a26
tree6605ac7a73f190b15c28e2c5e066166131974edf
parentff11a7ce1f0f8c1e7870de26860024b4ddbf5755
mm: page_alloc: avoid merging non-fallbackable pageblocks with others

This is done in addition to MIGRATE_ISOLATE pageblock merge avoidance.
It prepares for the upcoming removal of the MAX_ORDER-1 alignment
requirement for CMA and alloc_contig_range().

MIGRATE_HIGHATOMIC should not merge with other migratetypes like
MIGRATE_ISOLATE and MIGRARTE_CMA[1], so this commit prevents that too.

Remove MIGRATE_CMA and MIGRATE_ISOLATE from fallbacks list, since they
are never used.

[1] https://lore.kernel.org/linux-mm/20211130100853[email protected]/

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zi Yan <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Cc: Mike Rapoport <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmzone.h
mm/page_alloc.c
This page took 0.061886 seconds and 4 git commands to generate.