Re: [PATCH 4/5] nohz: Move full nohz kick to its own IPI
From: Peter Zijlstra
Date: Tue Jun 03 2014 - 11:01:08 EST
On Tue, Jun 03, 2014 at 04:40:19PM +0200, Frederic Weisbecker wrote:
> Now that the irq work subsystem can queue remote callbacks, it's
> a perfect fit to safely queue IPIs when interrupts are disabled
> without worrying about concurrent callers.
>
> Lets use it for the full dynticks kick to notify a CPU that it's
> exiting single task mode.
>
> This unbloats a bit the scheduler IPI that the nohz code was abusing
> for its cool "callable anywhere/anytime" properties.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Kevin Hilman <khilman@xxxxxxxxxx>
> Cc: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
Acked-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> ---
> include/linux/tick.h | 9 ++++++++-
> kernel/sched/core.c | 5 +----
> kernel/sched/sched.h | 2 +-
> kernel/time/tick-sched.c | 10 ++++++----
> 4 files changed, 16 insertions(+), 10 deletions(-)
>
Attachment:
pgpqwAXxJe2U6.pgp
Description: PGP signature