nohz: Move nohz kick out of scheduler IPI, v8
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 22 repliesIn review
Changes from the cover letter
* Check also raised lists from irq_work_needs_cpu() (thanks Peterz)
* Comment on SMP functions priority in generic_smp_call_function_single_interrupt() because IPI callbacks there are often synchronous as opposed to irq works. (thanks Peterz)
* s/native_send_call_func_single_ipi/native_send_call_func_single_ipi (thanks Eric Dumazet)
* Only build irq_work_queue_on() on CONFIG_SMP, fixes some broken builds
* Convert full nohz timer list kick
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | irq_work: Split raised and lazy listskernel/ | +24 | 0 replies | |
| 2/6 | irq_work: Implement remote queueinginclude/ kernel/ kernel/ | +38 | 18 replies | |
| 3/6 | nohz: Support nohz full remote kickinclude/ kernel/ | +14 | 0 replies | |
| 4/6 | nohz: Switch to nohz full remote kick on timer enqueuekernel/ | +7 | 0 replies | |
| 5/6 | nohz: Use nohz own full kick on 2nd task enqueuekernel/ kernel/ | +2 | 0 replies | |
| 6/6 | nohz: Use IPI implicit full barrier against rq->nr_running r/wkernel/ kernel/ | +13 | 2 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Zijlstra | Stephen Warren | Srivatsa S. Bhat | Borislav Petkov | Sachin Kamat |
|---|---|---|---|---|---|
| Series | A-b | ||||
| 1/6 | |||||
| 2/6 | A-b | T-b | R-b | T-b | T-b |
| 3/6 | |||||
| 4/6 | |||||
| 5/6 | |||||
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 0/6] nohz: Move nohz kick out of scheduler IPI, v8
So this set happens to have more changes than expected because I found out that the timer list full nohz kick also relies on the scheduler IPI. So I had to convert it as well, hence a few more change splitups.
Changes:
* Check also raised lists from irq_work_needs_cpu() (thanks Peterz)
* Comment on SMP functions priority in generic_smp_call_function_single_interrupt() because IPI callbacks there are often synchronous as opposed to irq works. (thanks Peterz)
* s/native_send_call_func_single_ipi/native_send_call_func_single_ipi (thanks Eric Dumazet)
* Only build irq_work_queue_on() on CONFIG_SMP, fixes some broken builds
* Convert full nohz timer list kick
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/nohz-irq-work-v6
Thanks,
Frederic
---
Frederic Weisbecker (6):
irq_work: Split raised and lazy lists
irq_work: Implement remote queueing
nohz: Support nohz full remote kick
nohz: Switch to nohz full remote kick on timer enqueue
nohz: Use nohz own full kick on 2nd task enqueue
nohz: Use IPI implicit full barrier against rq->nr_running r/w
include/linux/irq_work.h | 5 ++++ include/linux/tick.h | 9 +++++- kernel/irq_work.c | 76 ++++++++++++++++++++++++++++++------------------ kernel/sched/core.c | 22 ++++++++------ kernel/sched/sched.h | 12 ++++++-- kernel/smp.c | 9 ++++++ kernel/time/tick-sched.c | 10 ++++--- 7 files changed, 97 insertions(+), 46 deletions(-)