]> asedeno.scripts.mit.edu Git - linux.git/commit
nohz: Restart nohz full tick from irq exit
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 27 May 2015 17:22:08 +0000 (19:22 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 29 Jul 2015 13:45:00 +0000 (15:45 +0200)
commit73738a95d00467812664b7f86ba3052f5faf96d7
tree9827c57a6391c154fa87e4d103672e5888c7fa71
parent594493594373862ed2a7f91d88a5a2670742faa6
nohz: Restart nohz full tick from irq exit

Restart the tick when necessary from the irq exit path. It makes nohz
full more flexible, simplify the related IPIs and doesn't bring
significant overhead on irq exit.

In a longer term view, it will allow us to piggyback the nohz kick
on the scheduler IPI in the future instead of sending a dedicated IPI
that often doubles the scheduler IPI on task wakeup. This will require
more changes though including careful review of resched_curr() callers
to include nohz full needs.

Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/tick.h
kernel/time/tick-sched.c