Prev: [RFC 1/2] Add HW_ERR printk prefix for hardware error logging
Next: [PATCH 1/3] mem-hotplug: separate setup_per_cpu_pageset() into separate functions
From: Haicheng Li on 17 May 2010 04:20
In our recent cpu/memory hotadd testing, with multiple nodes hotadded,
kernel easily panics under stress workload like kernel building.
The root cause is that the new populated zones of hotadded nodes are
sharing same per_cpu_pageset, i.e. boot strapping boot_pageset, which
finally causes page state wrong.
The following three patches will setup the pagesets for hotadded nodes
with dynamically allocated per_cpu_pageset struct.
include/linux/memory_hotplug.h | 8 +++++
include/linux/mmzone.h | 2 +-
init/main.c | 2 +-
mm/memory_hotplug.c | 27 +++++++++++-----
mm/page_alloc.c | 66 +++++++++++++++++++++++++++-------------
5 files changed, 74 insertions(+), 31 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/