mm-nobootmem-return-0-when-start_pfn-equals-end_pfn.patch removed from -mm tree
The patch titled
Subject: mm/nobootmem.c: return 0 when start_pfn equals end_pfn
has been removed from the -mm tree. Its filename was
mm-nobootmem-return-0-when-start_pfn-equals-end_pfn.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: mm/nobootmem.c: return 0 when start_pfn equals end_pfn
When start_pfn equals end_pfn, __free_pages_memory() has no effect and __free_memory_core() will finally return (end_pfn - start_pfn) = 0.
This patch returns 0 directly when start_pfn equals end_pfn.
---
mm/nobootmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/nobootmem.c renamed from mm/nobootmem.c~mm-nobootmem-return-0-when-start_pfn-equals-end_pfn +1 -1
@@ -118,7 +118,7 @@ static unsigned long __init __free_memor unsigned long end_pfn = min_t(unsigned long,PFN_DOWN (end), max_low_pfn); -if (start_pfn > end_pfn) +if (start_pfn >= end_pfn)return 0 ;__free_pages_memory (start_pfn, end_pfn);
_
Patches currently in -mm which might be from [email protected] are
mm-memory_hotplug-just-build-zonelist-for-new-added-node.patch mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch