Alexandre Chartre <alexandre.char...@oracle.com> writes:
> On 5/5/20 3:16 PM, Thomas Gleixner wrote:
>> @@ -10009,12 +10009,11 @@ static void kick_ilb(unsigned int flags)
>>              return;
>>   
>>      /*
>> -     * Use smp_send_reschedule() instead of resched_cpu().
>> -     * This way we generate a sched IPI on the target CPU which
>> +     * This way we generate an IPI on the target CPU which
>>       * is idle. And the softirq performing nohz idle load balance
>>       * will be run before returning from the IPI.
>>       */
>> -    smp_send_reschedule(ilb_cpu);
>> +    smp_call_function_single_async(ilb_cpu, &cpu_rq(ilb_cpu)->wake_csd);
>
> This should be nohz_csd instead of wake_csd, no? I.e.:
>
>         smp_call_function_single_async(ilb_cpu, &cpu_rq(ilb_cpu)->nohz_csd);

Good catch!

Reply via email to