We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d89551 commit cd6313bCopy full SHA for cd6313b
mm/vmstat.c
@@ -2148,14 +2148,13 @@ static int vmstat_cpu_online(unsigned int cpu)
2148
if (!node_state(cpu_to_node(cpu), N_CPU)) {
2149
node_set_state(cpu_to_node(cpu), N_CPU);
2150
}
2151
- enable_delayed_work(&per_cpu(vmstat_work, cpu));
2152
2153
return 0;
2154
2155
2156
static int vmstat_cpu_down_prep(unsigned int cpu)
2157
{
2158
- disable_delayed_work_sync(&per_cpu(vmstat_work, cpu));
+ cancel_delayed_work_sync(&per_cpu(vmstat_work, cpu));
2159
2160
2161
0 commit comments