[PATCH 0/9] Fixes and cleanups to compaction

From: Kemeng Shi
Date: Fri Aug 04 2023 - 23:07:30 EST


Hi all, this is another series to do fix and clean up to compaction.
Patch 1-2 fix and clean up freepage list operation.
Patch 3-4 fix and clean up isolation of freepages
Patch 7-9 factor code to check if compaction is needed for allocation
order.
More details can be found in respective patches. Thanks!

Kemeng Shi (9):
mm/compaction: use correct list in move_freelist_{head}/{tail}
mm/compaction: call list_is_{first}/{last} more intuitively in
move_freelist_{head}/{tail}
mm/compaction: correctly return failure with bogus compound_order in
strict mode
mm/compaction: simplify pfn iteration in isolate_freepages_range
mm/compaction: remove repeat compact_blockskip_flush check in
reset_isolation_suitable
mm/compaction: rename is_via_compact_memory to
compaction_with_allocation_order
mm/compaction: factor out code to test if we should run compaction for
target order
mm/compaction: call compaction_suit_allocation_order in
kcompactd_node_suitable
mm/compaction: call compaction_suit_allocation_order in
kcompactd_do_work

mm/compaction.c | 119 +++++++++++++++++++++++-------------------------
1 file changed, 57 insertions(+), 62 deletions(-)

--
2.30.0