Skip to content
Commit 319774e2 authored by Wu Fengguang's avatar Wu Fengguang Committed by Linus Torvalds
Browse files

mem-hotplug: separate setup_per_cpu_pageset() into separate functions



No behavior change here.

Move some of setup_per_cpu_pageset() code into a new function
setup_zone_pageset() that will be useful for memory hotplug.

Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
Signed-off-by: default avatarHaicheng Li <haicheng.li@linux.intel.com>
Reviewed-by: default avatarAndi Kleen <andi.kleen@intel.com>
Reviewed-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0faa5638
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment