aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2010-01-05 01:34:51 -0500
committerTejun Heo <tj@kernel.org>2010-01-05 01:34:51 -0500
commitad596925eaf9a48ed61bc9210088828f1f8e0552 (patch)
tree868c53469fd9506b5297d9d1c2d4423bbba81836 /mm/vmstat.c
parent99dcc3e5a94ed491fbef402831d8c0bbb267f995 (diff)
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 <cl@linux-foundation.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r--mm/vmstat.c1
1 files changed, 1 insertions, 0 deletions
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,
908 case CPU_ONLINE: 908 case CPU_ONLINE:
909 case CPU_ONLINE_FROZEN: 909 case CPU_ONLINE_FROZEN:
910 start_cpu_timer(cpu); 910 start_cpu_timer(cpu);
911 node_set_state(cpu_to_node(cpu), N_CPU);
911 break; 912 break;
912 case CPU_DOWN_PREPARE: 913 case CPU_DOWN_PREPARE:
913 case CPU_DOWN_PREPARE_FROZEN: 914 case CPU_DOWN_PREPARE_FROZEN: