File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -234,24 +234,20 @@ void tick_nohz_full_kick_cpu(int cpu)
234
234
irq_work_queue_on (& per_cpu (nohz_full_kick_work , cpu ), cpu );
235
235
}
236
236
237
- static void nohz_full_kick_ipi (void * info )
238
- {
239
- /* Empty, the tick restart happens on tick_nohz_irq_exit() */
240
- }
241
-
242
237
/*
243
238
* Kick all full dynticks CPUs in order to force these to re-evaluate
244
239
* their dependency on the tick and restart it if necessary.
245
240
*/
246
241
void tick_nohz_full_kick_all (void )
247
242
{
243
+ int cpu ;
244
+
248
245
if (!tick_nohz_full_running )
249
246
return ;
250
247
251
248
preempt_disable ();
252
- smp_call_function_many (tick_nohz_full_mask ,
253
- nohz_full_kick_ipi , NULL , false);
254
- tick_nohz_full_kick ();
249
+ for_each_cpu_and (cpu , tick_nohz_full_mask , cpu_online_mask )
250
+ tick_nohz_full_kick_cpu (cpu );
255
251
preempt_enable ();
256
252
}
257
253
You can’t perform that action at this time.
0 commit comments