]> git.ipfire.org Git - thirdparty/linux.git/commit
arch: Select new NEED_TASKS_RCU Kconfig option
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 22 Feb 2024 18:22:27 +0000 (10:22 -0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Tue, 9 Apr 2024 13:13:05 +0000 (15:13 +0200)
commit900da4d2a57c1a7e63578cb173e16af0ade3cd7b
tree6bf737daa841b8ccfb1492e90de76f7cd25f4fea
parentb993115b44d769cb34b394d92658226df81a6c89
arch: Select new NEED_TASKS_RCU Kconfig option

Currently, if a Kconfig option depends on TASKS_RCU, it conditionally does
"select TASKS_RCU if PREEMPTION".  This works, but requires any change in
this enablement logic to be replicated across all such "select" clauses.
A new NEED_TASKS_RCU Kconfig option has been created to allow this
enablement logic to be in one place in kernel/rcu/Kconfig.

Therefore, select the new NEED_TASKS_RCU Kconfig option instead of the
old TASKS_RCU option.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Ankur Arora <ankur.a.arora@oracle.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
arch/Kconfig