From: Christoph Lameter Date: Tue, 5 Jan 2010 06:34:51 +0000 (+0900) Subject: this_cpu: Remove pageset_notifier X-Git-Tag: firefly_0821_release~9833^2~3045^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ad596925eaf9a48ed61bc9210088828f1f8e0552;p=firefly-linux-kernel-4.4.55.git this_cpu: Remove pageset_notifier Remove the pageset notifier since it only marks that a processor exists on a specific node. Move that code into the vmstat notifier. Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- diff --git a/mm/vmstat.c b/mm/vmstat.c index 1ba0bb7ad043..fc5aa183bc45 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -908,6 +908,7 @@ static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, case CPU_ONLINE: case CPU_ONLINE_FROZEN: start_cpu_timer(cpu); + node_set_state(cpu_to_node(cpu), N_CPU); break; case CPU_DOWN_PREPARE: case CPU_DOWN_PREPARE_FROZEN: