Skip to content

RFC NOCB kthread economization patches

Paul E. McKenney linux-rt-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu: Rationalize kthread spawningkernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+7 -104 replies
2/2rcu: Create rcuo kthreads only for onlined CPUskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+88 -135 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosh Triplett
SeriesR-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH RFC tip/core/rcu 0/2] NOCB kthread economization patches

Hello!

This series provides a couple of patches that reduce the number of rcuo kthreads in cases where nr_cpu_ids is larger than the actual number of online CPUs.

1. Preparation patch that rationalizes RCU's creation of early-boot
kthreads.

2. Instead of creation rcuo kthreads for each possible CPU, create
them only for those CPUs that have come online at least once since boot.

Thanx, Paul

------------------------------------------------------------------------

 b/kernel/rcu/tree.c        |    8 ++-
 b/kernel/rcu/tree.h        |    5 +-
 b/kernel/rcu/tree_plugin.h |  105 ++++++++++++++++++++++++++++++++++++---------
 3 files changed, 95 insertions(+), 23 deletions(-)