From: Christoph Lameter We do not need to allocate pagesets for unpopulated zones. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- mm/page_alloc.c | 3 +++ 1 files changed, 3 insertions(+) diff -puN mm/page_alloc.c~do-not-allocate-pagesets-for-unpopulated-zones mm/page_alloc.c --- a/mm/page_alloc.c~do-not-allocate-pagesets-for-unpopulated-zones +++ a/mm/page_alloc.c @@ -1815,6 +1815,9 @@ static int __cpuinit process_zones(int c for_each_zone(zone) { + if (!populated_zone(zone)) + continue; + zone_pcp(zone, cpu) = kmalloc_node(sizeof(struct per_cpu_pageset), GFP_KERNEL, cpu_to_node(cpu)); if (!zone_pcp(zone, cpu)) _