linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH tip/core/rcu 0/3] Response-time changes for 3.15
@ 2014-02-17 21:40 Paul E. McKenney
  2014-02-17 21:40 ` [PATCH tip/core/rcu 1/3] rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL Paul E. McKenney
  0 siblings, 1 reply; 9+ messages in thread
From: Paul E. McKenney @ 2014-02-17 21:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, laijs, dipankar, akpm, mathieu.desnoyers, josh, niv, tglx,
	peterz, rostedt, dhowells, edumazet, darren, fweisbec, oleg, sbw

Hello!

This series contains minor response-time improvements.

1.	Create trivial always-true version of rcu_is_nocb_cpu() for
	CONFIG_RCU_NOCB_CPU_ALL=y kernels.

2.	Create trivial always-false version of rcu_needs_cpu() for
	CONFIG_RCU_NOCB_CPU_ALL=y kernels.

3.	Don't bother doing CONFIG_RCU_FAST_NO_HZ work at idle entry
	and exit time for CONFIG_RCU_NOCB_CPU_ALL=y kernels.

							Thanx, Paul

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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH RFC tip/core/rcu 0/3] RT latency optimizations
@ 2013-11-18 22:02 Paul E. McKenney
  2013-11-18 22:02 ` [PATCH tip/core/rcu 1/3] rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL Paul E. McKenney
  0 siblings, 1 reply; 9+ messages in thread
From: Paul E. McKenney @ 2013-11-18 22:02 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, laijs, dipankar, akpm, mathieu.desnoyers, josh, niv, tglx,
	peterz, rostedt, dhowells, edumazet, darren, fweisbec, sbw

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(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-17 23:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17 21:40 [PATCH tip/core/rcu 0/3] Response-time changes for 3.15 Paul E. McKenney
2014-02-17 21:40 ` [PATCH tip/core/rcu 1/3] rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL Paul E. McKenney
2014-02-17 21:40   ` [PATCH tip/core/rcu 2/3] rcu: Optimize rcu_needs_cpu() " Paul E. McKenney
2014-02-17 21:53     ` Josh Triplett
2014-02-17 21:40   ` [PATCH tip/core/rcu 3/3] rcu: Optimize RCU_FAST_NO_HZ " Paul E. McKenney
2014-02-17 21:54     ` Josh Triplett
2014-02-17 21:50   ` [PATCH tip/core/rcu 1/3] rcu: Optimize rcu_is_nocb_cpu() " Josh Triplett
2014-02-17 23:33     ` Paul E. McKenney
  -- strict thread matches above, loose matches on Subject: below --
2013-11-18 22:02 [PATCH RFC tip/core/rcu 0/3] RT latency optimizations Paul E. McKenney
2013-11-18 22:02 ` [PATCH tip/core/rcu 1/3] rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).