The quilt patch titled Subject: mm/page_alloc: only search higher order when fallback has been removed from the -mm tree. Its filename was mm-page_alloc-only-search-higher-order-when-fallback.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Abel Wu <wuyun.abel@xxxxxxxxxxxxx> Subject: mm/page_alloc: only search higher order when fallback Date: Wed, 3 Aug 2022 10:51:21 +0800 It seems unnecessary to search pages with order < alloc_order in fallback allocation. This can currently happen with ALLOC_NOFRAGMENT and alloc_order > pageblock_order, so add a test to prevent it. [vbabka@xxxxxxx: changelog addition] Link: https://lkml.kernel.org/r/20220803025121.47018-1-wuyun.abel@xxxxxxxxxxxxx Signed-off-by: Abel Wu <wuyun.abel@xxxxxxxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_alloc.c~mm-page_alloc-only-search-higher-order-when-fallback +++ a/mm/page_alloc.c @@ -3010,7 +3010,7 @@ __rmqueue_fallback(struct zone *zone, in * i.e. orders < pageblock_order. If there are no local zones free, * the zonelists will be reiterated without ALLOC_NOFRAGMENT. */ - if (alloc_flags & ALLOC_NOFRAGMENT) + if (order < pageblock_order && alloc_flags & ALLOC_NOFRAGMENT) min_order = pageblock_order; /* _ Patches currently in -mm which might be from wuyun.abel@xxxxxxxxxxxxx are