Inter-revision diff: patch 1

Comparing rfc (message) to v4 (message)

--- vrfc
+++ v4
@@ -1,13 +1,15 @@
 remove_memory() does not remove memory but just offlines memory. The patch
 changes name of it to offline_memory().
 
+CC: David Rientjes <rientjes@google.com>
+CC: Jiang Liu <liuj97@gmail.com>
 CC: Len Brown <len.brown@intel.com>
 CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-CC: Paul Mackerras <paulus@samba.org>
+CC: Paul Mackerras <paulus@samba.org> 
 CC: Christoph Lameter <cl@linux.com>
 Cc: Minchan Kim <minchan.kim@gmail.com>
 CC: Andrew Morton <akpm@linux-foundation.org>
-CC: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
+CC: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> 
 CC: Wen Congyang <wency@cn.fujitsu.com>
 Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
 
@@ -20,8 +22,8 @@
 
 Index: linux-3.5-rc4/drivers/acpi/acpi_memhotplug.c
 ===================================================================
---- linux-3.5-rc4.orig/drivers/acpi/acpi_memhotplug.c	2012-06-25 04:53:04.000000000 +0900
-+++ linux-3.5-rc4/drivers/acpi/acpi_memhotplug.c	2012-06-26 13:48:38.263940481 +0900
+--- linux-3.5-rc4.orig/drivers/acpi/acpi_memhotplug.c	2012-07-03 14:21:46.102416917 +0900
++++ linux-3.5-rc4/drivers/acpi/acpi_memhotplug.c	2012-07-03 14:21:49.458374960 +0900
 @@ -318,7 +318,7 @@ static int acpi_memory_disable_device(st
  	 */
  	list_for_each_entry_safe(info, n, &mem_device->res_list, list) {
@@ -33,8 +35,8 @@
  		}
 Index: linux-3.5-rc4/drivers/base/memory.c
 ===================================================================
---- linux-3.5-rc4.orig/drivers/base/memory.c	2012-06-25 04:53:04.000000000 +0900
-+++ linux-3.5-rc4/drivers/base/memory.c	2012-06-26 13:48:46.072842803 +0900
+--- linux-3.5-rc4.orig/drivers/base/memory.c	2012-07-03 14:21:46.095417003 +0900
++++ linux-3.5-rc4/drivers/base/memory.c	2012-07-03 14:21:49.459374948 +0900
 @@ -266,8 +266,8 @@ memory_block_action(unsigned long phys_i
  			break;
  		case MEM_OFFLINE:
@@ -48,17 +50,17 @@
  			WARN(1, KERN_WARNING "%s(%ld, %ld) unknown action: "
 Index: linux-3.5-rc4/mm/memory_hotplug.c
 ===================================================================
---- linux-3.5-rc4.orig/mm/memory_hotplug.c	2012-06-25 04:53:04.000000000 +0900
-+++ linux-3.5-rc4/mm/memory_hotplug.c	2012-06-26 13:48:46.072842803 +0900
+--- linux-3.5-rc4.orig/mm/memory_hotplug.c	2012-07-03 14:21:46.102416917 +0900
++++ linux-3.5-rc4/mm/memory_hotplug.c	2012-07-03 14:21:49.466374860 +0900
 @@ -990,7 +990,7 @@ out:
  	return ret;
  }
-
+ 
 -int remove_memory(u64 start, u64 size)
 +int offline_memory(u64 start, u64 size)
  {
  	unsigned long start_pfn, end_pfn;
-
+ 
 @@ -999,9 +999,9 @@ int remove_memory(u64 start, u64 size)
  	return offline_pages(start_pfn, end_pfn, 120 * HZ);
  }
@@ -73,8 +75,8 @@
 +EXPORT_SYMBOL_GPL(offline_memory);
 Index: linux-3.5-rc4/include/linux/memory_hotplug.h
 ===================================================================
---- linux-3.5-rc4.orig/include/linux/memory_hotplug.h	2012-06-25 04:53:04.000000000 +0900
-+++ linux-3.5-rc4/include/linux/memory_hotplug.h	2012-06-26 13:48:38.264940468 +0900
+--- linux-3.5-rc4.orig/include/linux/memory_hotplug.h	2012-07-03 14:21:46.102416917 +0900
++++ linux-3.5-rc4/include/linux/memory_hotplug.h	2012-07-03 14:21:49.471374796 +0900
 @@ -233,7 +233,7 @@ static inline int is_mem_section_removab
  extern int mem_online_node(int nid);
  extern int add_memory(int nid, u64 start, u64 size);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help