mm-compaction-remove-unnecessary-order-check-in-try_to_compact_pages.patch removed from -mm tree
The patch titled
Subject: mm/compaction: remove unnecessary order check in try_to_compact_pages()
has been removed from the -mm tree. Its filename was
mm-compaction-remove-unnecessary-order-check-in-try_to_compact_pages.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Ganesh Mahendran <[email protected]>
Subject: mm/compaction: remove unnecessary order check in try_to_compact_pages()
The caller __alloc_pages_direct_compact() already checked (order == 0) so there's no need to check again.
---
mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/compaction.c renamed from mm/compaction.c~mm-compaction-remove-unnecessary-order-check-in-try_to_compact_pages +1 -1
@@ -1681,7 +1681,7 @@ enum compact_result try_to_compact_pages *contended =COMPACT_CONTENDED_NONE ;/* Check if the GFP flags allow compaction */ -if (!order || !may_enter_fs || !may_perform_io) +if (!may_enter_fs || !may_perform_io)return COMPACT_SKIPPED ;trace_mm_compaction_try_to_compact_pages (order, gfp_mask, mode);
_
Patches currently in -mm which might be from [email protected] are
mm-zsmalloc-add-trace-events-for-zs_compact.patch mm-zsmalloc-add-per-class-compact-trace-event.patch