* [folded-merged] mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix.patch removed from -mm tree
@ 2022-05-25 17:45 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-05-25 17:45 UTC (permalink / raw)
To: mm-commits, ziy, vbabka, sfr, rppt, renzhengeek, quic_qiancai,
osalvador, minchan, mgorman, david, christophe.leroy, akpm, akpm
The quilt patch titled
Subject: mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix
has been removed from the -mm tree. Its filename was
mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix.patch
This patch was dropped because it was folded into mm-fix-a-potential-infinite-loop-in-start_isolate_page_range.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix
Date: Wed May 25 10:34:12 AM PDT 2022
suppressmin() warning
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: David Hildenbrand <david@redhat.com>
Cc: Eric Ren <renzhengeek@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Qian Cai <quic_qiancai@quicinc.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Zi Yan <ziy@nvidia.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/mm/page_alloc.c~mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix
+++ a/mm/page_alloc.c
@@ -1123,7 +1123,9 @@ void split_free_page(struct page *free_p
pfn < free_page_pfn + (1UL << order);) {
int mt = get_pfnblock_migratetype(pfn_to_page(pfn), pfn);
- free_page_order = min(pfn ? __ffs(pfn) : order, __fls(split_pfn_offset));
+ free_page_order = min_t(int,
+ pfn ? __ffs(pfn) : order,
+ __fls(split_pfn_offset));
__free_one_page(pfn_to_page(pfn), pfn, zone, free_page_order,
mt, FPI_NONE);
pfn += 1UL << free_page_order;
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-fix-a-potential-infinite-loop-in-start_isolate_page_range.patch
mm-page_alloc-remotely-drain-per-cpu-lists-checkpatch-fixes.patch
kexec_file-drop-weak-attribute-from-arch_kexec_apply_relocations-fix.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-25 17:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 17:45 [folded-merged] mm-fix-a-potential-infinite-loop-in-start_isolate_page_range-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.