diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2014-03-18 20:12:53 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2014-06-16 14:26:55 (GMT) |
commit | fd2ac4f4a65a7f34b0bc6433fcca1192d7ba8b8e (patch) | |
tree | d94e0e43888defe2ca13797889cd011b6dc9774c /kernel/sched/sched.h | |
parent | 53c5fa16b4c843f1df91f7498e3c7bf95e0eaefa (diff) | |
download | linux-fd2ac4f4a65a7f34b0bc6433fcca1192d7ba8b8e.tar.xz |
nohz: Use nohz own full kick on 2nd task enqueue
Now that we have a nohz full remote kick based on irq work, lets use
it 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.
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 31cc02e..599a72af 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1223,7 +1223,7 @@ static inline void add_nr_running(struct rq *rq, unsigned count) if (tick_nohz_full_cpu(rq->cpu)) { /* Order rq->nr_running write against the IPI */ smp_wmb(); - smp_send_reschedule(rq->cpu); + tick_nohz_full_kick_cpu(rq->cpu); } } #endif |