Re: [PATCH 0/3] memory_hotplug: fix memory hotplug bug

2012-09-27 Thread Ni zhan Chen

On 09/27/2012 02:47 PM, Lai Jiangshan wrote:

We found 3 bug while we test and develop memory hotplug.

PATCH1~2: the old code does not handle node_states[N_NORMAL_MEMORY] correctly,
it corrupts the memory.

PATCH3: move the modification of zone_start_pfn into corresponding lock.


please fully test them before send out. thanks.



CC: Rob Landley 
CC: Andrew Morton 
CC: Jiang Liu 
CC: Jianguo Wu 
CC: Kay Sievers 
CC: Greg Kroah-Hartman 
CC: Xishi Qiu 
CC: Mel Gorman 
CC: linux-...@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: linux...@kvack.org

Lai Jiangshan (3):
   memory_hotplug: fix missing nodemask management
   slub, hotplug: ignore unrelated node's hot-adding and hot-removing
   memory,hotplug: Don't modify the zone_start_pfn outside of
 zone_span_writelock()

  Documentation/memory-hotplug.txt |5 ++-
  include/linux/memory.h   |1 +
  mm/memory_hotplug.c  |   96 +++---
  mm/page_alloc.c  |3 +-
  mm/slub.c|4 +-
  5 files changed, 87 insertions(+), 22 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/3] memory_hotplug: fix memory hotplug bug

2012-09-27 Thread Lai Jiangshan
We found 3 bug while we test and develop memory hotplug.

PATCH1~2: the old code does not handle node_states[N_NORMAL_MEMORY] correctly,
it corrupts the memory.

PATCH3: move the modification of zone_start_pfn into corresponding lock.

CC: Rob Landley 
CC: Andrew Morton 
CC: Jiang Liu 
CC: Jianguo Wu 
CC: Kay Sievers 
CC: Greg Kroah-Hartman 
CC: Xishi Qiu 
CC: Mel Gorman 
CC: linux-...@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: linux...@kvack.org

Lai Jiangshan (3):
  memory_hotplug: fix missing nodemask management
  slub, hotplug: ignore unrelated node's hot-adding and hot-removing
  memory,hotplug: Don't modify the zone_start_pfn outside of
zone_span_writelock()

 Documentation/memory-hotplug.txt |5 ++-
 include/linux/memory.h   |1 +
 mm/memory_hotplug.c  |   96 +++---
 mm/page_alloc.c  |3 +-
 mm/slub.c|4 +-
 5 files changed, 87 insertions(+), 22 deletions(-)

-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/