Skip to content

RFC smp: Single IPI cleanups

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest11 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11block: Stop abusing csd.list for fifo_timeblock/cfq-iosched.c block/deadline-iosched.c include/linux/blkdev.h +1 more+9 -140 replies
2/11block: Remove useless IPI struct initializationinclude/linux/elevator.h+1 -41 reply
3/11block: Stop abusing rq->csd.list in blk-softirqblock/blk-softirq.c+11 -60 replies
4/11smp: Iterate functions through llist_for_each_entry_safe()kernel/smp.c+3 -90 replies
5/11smp: Remove unused list_head from csdinclude/linux/smp.h+1 -40 replies
6/11smp: Teach __smp_call_function_single() to check for offline cpusinclude/linux/smp.h kernel/smp.c kernel/up.c+11 -80 replies
7/11smp: Consolidate the various smp_call_function_single() declensionskernel/smp.c+39 -411 reply
8/11smp: Move __smp_call_function_single() below its safe versionkernel/smp.c+32 -321 reply
9/11watchdog: Simplify a little the IPI callkernel/watchdog.c+1 -22 replies
10/11smp: Remove wait argument from __smp_call_function_single()block/blk-mq.c block/blk-softirq.c drivers/block/null_blk.c +6 more+12 -243 replies
11/11smp: Enhance and precise the role & requirements of __smp_call_function_single()kernel/smp.c+11 -40 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchMichal HockoDon ZickusJan Kara
1/11
2/11R-b
3/11
4/11
5/11
6/11
7/11R-b
8/11R-b
9/11R-b A-b
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 00/11] smp: Single IPI cleanups

Hi,

Here is a batch of cleanups on the generic single IPI code. I've gathered a few patches from Jan, split up some, and added a few more so that __smp_call_function_single() becomes less obscure.

Comments?

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/ipi-rfc

Thanks,
Frederic
---

Frederic Weisbecker (6):
block: Remove useless IPI struct initialization
smp: Consolidate the various smp_call_function_single() declensions
smp: Move __smp_call_function_single() below its safe version
watchdog: Simplify a little the IPI call
smp: Remove wait argument from __smp_call_function_single()
smp: Enhance and precise the role & requirements of __smp_call_function_single()

Jan Kara (5):
block: Stop abusing csd.list for fifo_time
block: Stop abusing rq->csd.list in blk-softirq
smp: Iterate functions through llist_for_each_entry_safe()
smp: Remove unused list_head from csd
smp: Teach __smp_call_function_single() to check for offline cpus

 block/blk-mq.c            |   2 +-
 block/blk-softirq.c       |  19 ++++---
 block/cfq-iosched.c       |   8 +--
 block/deadline-iosched.c  |   8 +--
 drivers/block/null_blk.c  |   2 +-
 drivers/cpuidle/coupled.c |   2 +-
 include/linux/blkdev.h    |   1 +
 include/linux/elevator.h  |  11 +---
 include/linux/smp.h       |   8 +--
 kernel/sched/core.c       |   2 +-
 kernel/smp.c              | 139 ++++++++++++++++++++++------------------------
 kernel/up.c               |   4 +-
 kernel/watchdog.c         |   3 +-
 net/core/dev.c            |   2 +-
 14 files changed, 97 insertions(+), 114 deletions(-)