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

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

 



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 <rob@xxxxxxxxxxx>
CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
CC: Jiang Liu <jiang.liu@xxxxxxxxxx>
CC: Jianguo Wu <wujianguo@xxxxxxxxxx>
CC: Kay Sievers <kay.sievers@xxxxxxxx>
CC: Greg Kroah-Hartman <gregkh@xxxxxxx>
CC: Xishi Qiu <qiuxishi@xxxxxxxxxx>
CC: Mel Gorman <mgorman@xxxxxxx>
CC: linux-doc@xxxxxxxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
CC: linux-mm@xxxxxxxxx

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-doc" 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]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux