* [to-be-updated] mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix.patch removed from -mm tree
@ 2021-04-09 5:07 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-04-09 5:07 UTC (permalink / raw)
To: david, mhocko, mike.kravetz, minchan, mm-commits, osalvador,
songmuchun, vbabka
The patch titled
Subject: mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix
has been removed from the -mm tree. Its filename was
mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Oscar Salvador <osalvador@suse.de>
Subject: mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix
fix missed place wrt. error handling
Link: https://lkml.kernel.org/r/20210323104858.GA7776@linux
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: David Hildenbrand <david@redhat.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/compaction.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- a/mm/compaction.c~mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix
+++ a/mm/compaction.c
@@ -809,6 +809,7 @@ isolate_migratepages_block(struct compac
bool skip_on_failure = false;
unsigned long next_skip_pfn = 0;
bool skip_updated = false;
+ int ret = 0;
cc->migrate_pfn = low_pfn;
@@ -877,8 +878,8 @@ isolate_migratepages_block(struct compac
if (fatal_signal_pending(current)) {
cc->contended = true;
+ ret = -EINTR;
- low_pfn = 0;
goto fatal_pending;
}
@@ -1134,7 +1135,7 @@ fatal_pending:
cc->migrate_pfn = low_pfn;
- return 0;
+ return ret;
}
/**
_
Patches currently in -mm which might be from osalvador@suse.de are
x86-vmemmap-drop-handling-of-4k-unaligned-vmemmap-range.patch
x86-vmemmap-drop-handling-of-1gb-vmemmap-ranges.patch
x86-vmemmap-handle-unpopulated-sub-pmd-ranges.patch
x86-vmemmap-handle-unpopulated-sub-pmd-ranges-fix.patch
x86-vmemmap-optimize-for-consecutive-sections-in-partial-populated-pmds.patch
mm-make-alloc_contig_range-handle-free-hugetlb-pages.patch
mm-make-alloc_contig_range-handle-in-use-hugetlb-pages.patch
mmpage_alloc-drop-unnecessary-checks-from-pfn_range_valid_contig.patch
mmmemory_hotplug-allocate-memmap-from-the-added-memory-range.patch
acpimemhotplug-enable-mhp_memmap_on_memory-when-supported.patch
mmmemory_hotplug-add-kernel-boot-option-to-enable-memmap_on_memory.patch
x86-kconfig-introduce-arch_mhp_memmap_on_memory_enable.patch
arm64-kconfig-introduce-arch_mhp_memmap_on_memory_enable.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-09 5:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 5:07 [to-be-updated] mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).