Skip to content

SRCU changes for 3.20

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Expand SRCU ->completed to 64 bitsinclude/linux/srcu.h kernel/rcu/srcu.c+3 -30 replies
2/3rcu: Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU()include/linux/srcu.h+4 -60 replies
3/3rcu: Make SRCU optional by using CONFIG_SRCUarch/arm/kvm/Kconfig arch/arm64/kvm/Kconfig arch/mips/kvm/Kconfig +20 more+34 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/3] SRCU changes for 3.20

Hello!

This series contains some minor changes to SRCU:

1. Expand SRCU ->completed to 64 bits. This is to be consistent with
rcutorture, which now pays attention to this field for more precise error checking.

2. Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU().

3. Make SRCU optional via a new CONFIG_SRCU Kconfig parameter,
courtesy of Pranith Kumar. This saves about 2KB.

Thanx, Paul

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

 b/arch/arm/kvm/Kconfig     |    1 +
 b/arch/arm64/kvm/Kconfig   |    1 +
 b/arch/mips/kvm/Kconfig    |    1 +
 b/arch/powerpc/kvm/Kconfig |    1 +
 b/arch/s390/kvm/Kconfig    |    1 +
 b/arch/tile/kvm/Kconfig    |    1 +
 b/arch/x86/Kconfig         |    1 +
 b/arch/x86/kvm/Kconfig     |    1 +
 b/drivers/clk/Kconfig      |    1 +
 b/drivers/cpufreq/Kconfig  |    1 +
 b/drivers/devfreq/Kconfig  |    1 +
 b/drivers/md/Kconfig       |    1 +
 b/drivers/net/Kconfig      |    1 +
 b/fs/btrfs/Kconfig         |    1 +
 b/fs/notify/Kconfig        |    1 +
 b/fs/quota/Kconfig         |    1 +
 b/include/linux/srcu.h     |   14 ++++++--------
 b/init/Kconfig             |    9 +++++++++
 b/kernel/notifier.c        |    3 +++
 b/kernel/power/Kconfig     |    1 +
 b/kernel/rcu/Makefile      |    3 ++-
 b/kernel/rcu/srcu.c        |    2 +-
 b/lib/Kconfig.debug        |    1 +
 b/mm/Kconfig               |    1 +
 b/security/tomoyo/Kconfig  |    1 +
 25 files changed, 41 insertions(+), 10 deletions(-)