public inbox for rcu@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rcu 0/4] Refactor TASKS_RCU for lazy preemption
@ 2024-02-23  0:26 Paul E. McKenney
  2024-02-23  0:26 ` [PATCH rcu 1/4] rcu: Create NEED_TASKS_RCU to factor out enablement logic Paul E. McKenney
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Paul E. McKenney @ 2024-02-23  0:26 UTC (permalink / raw)
  To: rcu; +Cc: linux-kernel, kernel-team, rostedt, ankur.a.arora, tglx,
	mark.rutland

Hello!

This series refactors the NEED_TASKS_RCU option so that the conditional
processing is in one place in kernel/rcu/Kconfig.  This makes it easier
to make sure that Tasks RCU is enabled in PREEMPT_AUTO kernels, given
that such kernels are preemptible, even if only lazily so.  After all,
it takes only one lazy preemption from a trampoline to significantly
degrade your kernel's actuarial statistics.

1.	Create NEED_TASKS_RCU to factor out enablement logic.

2.	Select new NEED_TASKS_RCU Kconfig option.

3.	Select new NEED_TASKS_RCU Kconfig option.

4.	Select new NEED_TASKS_RCU Kconfig option.

						Thanx, Paul

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

 arch/Kconfig         |    4 ++--
 kernel/bpf/Kconfig   |    2 +-
 kernel/rcu/Kconfig   |    6 +++++-
 kernel/trace/Kconfig |    4 ++--
 4 files changed, 10 insertions(+), 6 deletions(-)

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

end of thread, other threads:[~2024-02-23 10:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23  0:26 [PATCH rcu 0/4] Refactor TASKS_RCU for lazy preemption Paul E. McKenney
2024-02-23  0:26 ` [PATCH rcu 1/4] rcu: Create NEED_TASKS_RCU to factor out enablement logic Paul E. McKenney
2024-02-23  0:26 ` [PATCH rcu 2/4] bpf: Select new NEED_TASKS_RCU Kconfig option Paul E. McKenney
2024-02-23  0:26 ` [PATCH rcu 3/4] arch: " Paul E. McKenney
2024-02-23  1:36   ` Steven Rostedt
2024-02-23  4:57     ` Paul E. McKenney
2024-02-23  0:26 ` [PATCH rcu 4/4] tracing: " Paul E. McKenney
2024-02-23 10:54 ` [PATCH rcu 0/4] Refactor TASKS_RCU for lazy preemption Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox