- memory-unplug-v7-memory-hotplug-cleanup-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Error handling in walk_memory_resource()
has been removed from the -mm tree.  Its filename was
     memory-unplug-v7-memory-hotplug-cleanup-fix.patch

This patch was dropped because it was folded into memory-unplug-v7-memory-hotplug-cleanup.patch

------------------------------------------------------
Subject: Error handling in walk_memory_resource()
From: Badari Pulavarty <pbadari@xxxxxxxxxx>

walk_memory_resource() should return failure, if it can't find the memory
region in the /proc/iomem.  Otherwise, offline_pages() would end up
isolating pages wrongly.

Signed-off-by: Badari Pulavarty <pbadari@xxxxxxxxxx>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN kernel/resource.c~memory-unplug-v7-memory-hotplug-cleanup-fix kernel/resource.c
--- a/kernel/resource.c~memory-unplug-v7-memory-hotplug-cleanup-fix
+++ a/kernel/resource.c
@@ -274,7 +274,7 @@ walk_memory_resource(unsigned long start
 	struct resource res;
 	unsigned long pfn, len;
 	u64 orig_end;
-	int ret;
+	int ret = -1;
 	res.start = (u64) start_pfn << PAGE_SHIFT;
 	res.end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1;
 	res.flags = IORESOURCE_MEM;
_

Patches currently in -mm which might be from pbadari@xxxxxxxxxx are

ppc64-sparsemem_vmemmap-support.patch
ext3-convert-to-new-aops.patch
ext4-convert-to-new-aops.patch
fs-restore-nobh.patch
memory-unplug-v7-memory-hotplug-cleanup.patch
memory-unplug-v7-memory-hotplug-cleanup-fix.patch
hugetlb-move-update_and_free_page.patch
hugetlb-try-to-grow-hugetlb-pool-for-map_private-mappings.patch
hugetlb-try-to-grow-hugetlb-pool-for-map_shared-mappings.patch
hugetlb-add-hugetlb_dynamic_pool-sysctl.patch
hugetlbfs-read-support.patch
hugetlbfs-read-support-fix.patch
hugetlbfs-read-support-fix-2-fix.patch
hugetlb-fix-pool-resizing-corner-case-v2.patch
hugetlb-fix-hugepage-allocation-with-memoryless-nodes.patch
hugetlb-fix-dynamic-pool-resize-failure-case.patch
ext2-statfs-improvement-for-block-and-inode-free-count.patch
aio-account-i-o-wait-time-properly.patch
fix-for-ext2-reservation.patch
sysctl-remove-the-binary-interface-for-aio-nr-aio-max-nr-acpi_video_flags.patch
mem-controller-gfp-mask-fix.patch
powerpc-add-scaled-time-accounting-speedup.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux