projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99dcc3e
)
this_cpu: Remove pageset_notifier
author
Christoph Lameter
<cl@linux-foundation.org>
Tue, 5 Jan 2010 06:34:51 +0000
(15:34 +0900)
committer
Tejun Heo
<tj@kernel.org>
Tue, 5 Jan 2010 06:34:51 +0000
(15:34 +0900)
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>
mm/vmstat.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/vmstat.c
b/mm/vmstat.c
index 1ba0bb7ad04398a52dcf9bbd661bf7ae8f746e23..fc5aa183bc4574a1f52247590fc21e4b20efefa4 100644
(file)
--- 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: