linux/kernel/rcu
Paul E. McKenney 45975c7d21 rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds
Now that RCU-preempt knows about preemption disabling, its implementation
of synchronize_rcu() works for synchronize_sched(), and likewise for the
other RCU-sched update-side API members.  This commit therefore confines
the RCU-sched update-side code to CONFIG_PREEMPT=n builds, and defines
RCU-sched's update-side API members in terms of those of RCU-preempt.

This means that any given build of the Linux kernel has only one
update-side flavor of RCU, namely RCU-preempt for CONFIG_PREEMPT=y builds
and RCU-sched for CONFIG_PREEMPT=n builds.  This in turn means that kernels
built with CONFIG_RCU_NOCB_CPU=y have only one rcuo kthread per CPU.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
2018-08-30 16:02:45 -07:00
..
Kconfig rcu: Update comments and help text for no more RCU-bh updaters 2018-08-30 16:02:42 -07:00
Kconfig.debug rcu: Move RCU debug Kconfig options to kernel/rcu 2017-06-08 18:52:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rcu_segcblist.c rcu: Simplify and inline cpu_needs_another_gp() 2018-05-15 10:30:59 -07:00
rcu_segcblist.h rcu: Simplify and inline cpu_needs_another_gp() 2018-05-15 10:30:59 -07:00
rcu.h Merge branches 'fixes1.2018.07.12b' and 'torture1.2018.07.12b' into HEAD 2018-07-12 15:42:41 -07:00
rcuperf.c Merge branches 'fixes1.2018.07.12b' and 'torture1.2018.07.12b' into HEAD 2018-07-12 15:42:41 -07:00
rcutorture.c rcutorture: Test extended "rcu" read-side critical sections 2018-08-30 16:02:35 -07:00
srcutiny.c sched/swait: Rename to exclusive 2018-06-20 11:35:56 +02:00
srcutree.c srcu: Add grace-period number to rcutorture statistics printout 2018-07-12 15:39:25 -07:00
sync.c doc: Fix various RCU docbook comment-header problems 2017-10-19 22:26:11 -04:00
tiny.c rcu: Define RCU-bh update API in terms of RCU 2018-08-30 16:02:40 -07:00
tree_exp.h rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds 2018-08-30 16:02:45 -07:00
tree_plugin.h rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds 2018-08-30 16:02:45 -07:00
tree.c rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds 2018-08-30 16:02:45 -07:00
tree.h rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds 2018-08-30 16:02:45 -07:00
update.c rcu: Update comments and help text for no more RCU-bh updaters 2018-08-30 16:02:42 -07:00