Skip to content

RFC Per cpu thread hotplug infrastructure

Thomas Gleixner lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest7 patches 6 repliesIn review
  2. v1 RFC5 patches 47 repliesSuperseded

Changes in v2 from the cover letter

- Addressed the review comments
- Fixed a missing state update in parkme (reported by Paul)
- Simplified rcu_yield()
- Added Pauls RCU conversion

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7rcu: Yield simplerkernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h+41 -1840 replies
2/7kthread: Implement park/unpark facilityinclude/linux/kthread.h kernel/kthread.c+175 -202 replies
3/7smpboot: Provide infrastructure for percpu hotplug threadsinclude/linux/smpboot.h kernel/cpu.c kernel/smpboot.c +1 more+259 -10 replies
4/7softirq: Use hotplug thread infrastructurekernel/softirq.c+18 -661 reply
5/7watchdog: Use hotplug thread infrastructurekernel/watchdog.c+69 -1630 replies
6/7rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthreadkernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h +1 more+26 -1580 replies
7/7infiniband: ehca: Use hotplug thread infrastructuredrivers/infiniband/hw/ehca/ehca_irq.c drivers/infiniband/hw/ehca/ehca_irq.h+92 -1530 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchNamhyung KimPaul E. McKenney
SeriesT-b
1/7
2/7R-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC patch V2 0/7] Per cpu thread hotplug infrastructure

The following series implements the infrastructure for parking and unparking kernel threads to avoid the full teardown and fork on cpu hotplug operations along with management infrastructure for hotplug and users.

Changes since V1:

- Addressed the review comments
- Fixed a missing state update in parkme (reported by Paul)
- Simplified rcu_yield()
- Added Pauls RCU conversion

Full diffstat below. Due to the RCU cleanup we now remove more code than we add. :)

Thanks,

tglx

---
 drivers/infiniband/hw/ehca/ehca_irq.c |  240 ++++++++-------------
 drivers/infiniband/hw/ehca/ehca_irq.h |    5 
 include/linux/kthread.h               |   11 
 include/linux/smpboot.h               |   40 +++
 kernel/cpu.c                          |   10 
 kernel/kthread.c                      |  184 ++++++++++++++--
 kernel/rcutree.c                      |   12 -
 kernel/rcutree.h                      |   15 -
 kernel/rcutree_plugin.h               |  375 +++++-----------------------------
 kernel/rcutree_trace.c                |    3 
 kernel/smpboot.c                      |  206 ++++++++++++++++++
 kernel/smpboot.h                      |    4 
 kernel/softirq.c                      |   84 +------
 kernel/watchdog.c                     |  232 ++++++---------------
 14 files changed, 678 insertions(+), 743 deletions(-)