Skip to content

nohz: Move nohz kick out of scheduler IPI, v8

Frederic Weisbecker linux-next lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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 filesSizeRepliesApplied
1/6irq_work: Split raised and lazy listskernel/irq_work.c+24 -290 replies
2/6irq_work: Implement remote queueinginclude/linux/irq_work.h kernel/irq_work.c kernel/smp.c+38 -118 replies
3/6nohz: Support nohz full remote kickinclude/linux/tick.h kernel/time/tick-sched.c+14 -50 replies
4/6nohz: Switch to nohz full remote kick on timer enqueuekernel/sched/core.c+7 -10 replies
5/6nohz: Use nohz own full kick on 2nd task enqueuekernel/sched/core.c kernel/sched/sched.h+2 -50 replies
6/6nohz: Use IPI implicit full barrier against rq->nr_running r/wkernel/sched/core.c kernel/sched/sched.h+13 -62 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.

PatchPeter ZijlstraStephen WarrenSrivatsa S. BhatBorislav PetkovSachin Kamat
SeriesA-b
1/6
2/6A-b T-b R-b T-b T-b
3/6
4/6
5/6
6/6A-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.

Read the v1 thread

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(-)