Skip to content

RFC RT latency optimizations

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALLinclude/linux/rcupdate.h kernel/rcu/tree_plugin.h+6 -00 replies
2/3rcu: Optimize rcu_needs_cpu() for RCU_NOCB_CPU_ALLinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +2 more+16 -70 replies
3/3Optimize RCU_FAST_NO_HZ for RCU_NOCB_CPU_ALLkernel/rcu/tree_plugin.h+5 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC tip/core/rcu 0/3] RT latency optimizations

Hello!

This series provides some minor latency optimizations for kernels that build with CONFIG_RCU_NOCB_CPU_ALL=y:

1. Create a static inline implementation of rcu_is_nocb_cpu() that
unconditionally returns true when CONFIG_RCU_NOCB_CPU_ALL=y.

2. Create a static inline implementation of rcu_needs_cpu() that
unconditionally returns false when CONFIG_RCU_NOCB_CPU_ALL=y.

3. Create static inline implementations of rcu_prepare_for_idle()
and rcu_cleanup_after_idle() that are no-ops when CONFIG_RCU_NOCB_CPU_ALL=y.

Thanx, Paul

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

 b/include/linux/rcupdate.h |   13 +++++++++++++
 b/include/linux/rcutiny.h  |    6 ------
 b/include/linux/rcutree.h  |    2 ++
 b/kernel/rcu/tree.c        |    2 +-
 b/kernel/rcu/tree_plugin.h |   13 +++++++++++--
 5 files changed, 27 insertions(+), 9 deletions(-)