[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <874kstkswa.fsf@nanos.tec.linutronix.de>
Date: Wed, 06 May 2020 17:03:17 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Alexandre Chartre <alexandre.chartre@...cle.com>,
LKML <linux-kernel@...r.kernel.org>
Cc: x86@...nel.org, "Paul E. McKenney" <paulmck@...nel.org>,
Andy Lutomirski <luto@...nel.org>,
Frederic Weisbecker <frederic@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Petr Mladek <pmladek@...e.com>,
Steven Rostedt <rostedt@...dmis.org>,
Joel Fernandes <joel@...lfernandes.org>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
Brian Gerst <brgerst@...il.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Will Deacon <will@...nel.org>,
"Peter Zijlstra \(Intel\)" <peterz@...radead.org>
Subject: Re: [patch V4 part 1 03/36] sched: Clean up scheduler_ipi()
Alexandre Chartre <alexandre.chartre@...cle.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!
Powered by blists - more mailing lists