Skip to content

rcu: Some minor fixes and cleanups

Pranith Kumar lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16rcu: Use rcu_num_nodes instead of NUM_RCU_NODESkernel/rcu/tree_plugin.h+2 -20 replies
2/16rcu: Check return value for cpumask allocationkernel/rcu/tree_plugin.h+4 -14 replies
3/16rcu: Fix comment for gp_state field valueskernel/rcu/tree.h+1 -10 replies
4/16rcu: Remove redundant check for an online CPUkernel/rcu/tree.c+0 -27 replies
5/16rcu: Add noreturn attribute to boost kthreadkernel/rcu/tree_plugin.h+1 -20 replies
6/16rcu: Clear gp_flags only when actually starting new gpkernel/rcu/tree.c+2 -11 reply
7/16rcu: Save and restore irq flags in rcu_gp_cleanup()kernel/rcu/tree.c+7 -71 reply
8/16rcu: Clean up rcu_spawn_one_boost_kthread()kernel/rcu/tree.h kernel/rcu/tree_plugin.h+7 -100 replies
9/16rcu: Remove redundant check for online cpukernel/rcu/tree.c+6 -312 replies
10/16rcu: Check for RCU_FLAG_GP_INIT bit in gp_flags for spurious wakeupkernel/rcu/tree.c+1 -11 reply
11/16rcu: Check for spurious wakeup using return valuekernel/rcu/tree.c+2 -27 replies
12/16rcu: Rename rcu_spawn_gp_kthread() to rcu_spawn_kthreads()kernel/rcu/tree.c+4 -30 replies
13/16rcu: Spawn nocb kthreads from rcu_prepare_kthreads()kernel/rcu/tree.c kernel/rcu/tree_plugin.h+2 -10 replies
14/16rcu: Remove redundant checks for rcu_scheduler_fully_activekernel/rcu/tree_plugin.h+6 -61 reply
15/16rcu: Check for a nocb cpu before trying to spawn nocb threadskernel/rcu/tree_plugin.h+2 -13 replies
16/16rcu: kvm.sh: Fix error when you pass --cpus argumenttools/testing/selftests/rcutorture/bin/kvm.sh+2 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/16] rcu: Some minor fixes and cleanups

Hi Paul,

This is a series of minor fixes and cleanup patches which I found while studying the code. All my previous pending (but not rejected ;) patches are superseded by this series, expect the rcutorture snprintf changes. I am still waiting for you to decide on that one :)

These changes have been tested by the kvm rcutorture test setup. Some tests give me stall warnings, but otherwise have SUCCESS messages in the logs. But those are occuring even without these changes with the tip paul/rcu/dev. May be it is because I am running them for a duration of 4 minutes each only?

--
Pranith.

Pranith Kumar (16):
rcu: Use rcu_num_nodes instead of NUM_RCU_NODES
rcu: Check return value for cpumask allocation
rcu: Fix comment for gp_state field values
rcu: Remove redundant check for an online CPU
rcu: Add noreturn attribute to boost kthread
rcu: Clear gp_flags only when actually starting new gp
rcu: Save and restore irq flags in rcu_gp_cleanup()
rcu: Clean up rcu_spawn_one_boost_kthread()
rcu: Remove redundant check for online cpu
rcu: Check for RCU_FLAG_GP_INIT bit in gp_flags for spurious wakeup
rcu: Check for spurious wakeup using return value
rcu: Rename rcu_spawn_gp_kthread() to rcu_spawn_kthreads()
rcu: Spawn nocb kthreads from rcu_prepare_kthreads()
rcu: Remove redundant checks for rcu_scheduler_fully_active
rcu: Check for a nocb cpu before trying to spawn nocb threads
rcu: kvm.sh: Fix error when you pass --cpus argument

 kernel/rcu/tree.c                             | 42 ++++++++++++++-------------
 kernel/rcu/tree.h                             |  4 +--
 kernel/rcu/tree_plugin.h                      | 40 +++++++++++++------------
 tools/testing/selftests/rcutorture/bin/kvm.sh |  4 +--
 4 files changed, 47 insertions(+), 43 deletions(-)
Signature · 1 line
2.0.0.rc2