linux/kernel/rcu
Paul E. McKenney 536e8b9b80 srcu: Add FORCE_NEED_SRCU_NMI_SAFE Kconfig for testing
The srcu_read_lock_nmisafe() and srcu_read_unlock_nmisafe() functions
map to __srcu_read_lock() and __srcu_read_unlock() on systems like x86
that have NMI-safe this_cpu_inc() operations.  This makes the underlying
__srcu_read_lock_nmisafe() and __srcu_read_unlock_nmisafe() functions
difficult to test on (for example) x86 systems, allowing bugs to creep in.

This commit therefore creates a FORCE_NEED_SRCU_NMI_SAFE Kconfig that
forces those underlying functions to be used even on systems where they
are not needed, thus providing better testing coverage.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
2025-02-05 07:14:40 -08:00
..
Kconfig srcu: Add FORCE_NEED_SRCU_NMI_SAFE Kconfig for testing 2025-02-05 07:14:40 -08:00
Kconfig.debug rcutorture: Move RCU_TORTURE_TEST_{CHK_RDR_STATE,LOG_CPU} to bool 2025-02-05 07:14:40 -08:00
Makefile rcuperf: Change rcuperf to rcuscale 2020-08-24 18:39:24 -07:00
rcu_segcblist.c rcu/nocb: Simplify (de-)offloading state machine 2024-09-09 00:03:55 +05:30
rcu_segcblist.h rcu: Remove unused declaration rcu_segcblist_offload() 2024-10-22 15:36:56 +02:00
rcu.h rcutorture: Make cur_ops->format_gp_seqs take buffer length 2025-02-05 07:14:39 -08:00
rcuscale.c rcuscale: Remove redundant WARN_ON_ONCE() splat 2024-11-15 22:24:41 +01:00
rcutorture.c rcutorture: Complain when invalid SRCU reader_flavor is specified 2025-02-05 07:14:40 -08:00
refscale.c refscale: Add test for sched_clock() 2024-12-14 16:16:33 +01:00
srcutiny.c rcu/srcutiny: don't return before reenabling preemption 2024-11-12 21:45:20 +01:00
srcutree.c srcu: Remove redundant GP sequence checks in srcu_funnel_gp_start 2024-12-14 17:13:24 +01:00
sync.c rcu: Eliminate lockless accesses to rcu_sync->gp_count 2024-07-04 13:48:57 -07:00
tasks.h RCU pull request for v6.13 2024-11-19 11:27:07 -08:00
tiny.c rcutorture: Make cur_ops->format_gp_seqs take buffer length 2025-02-05 07:14:39 -08:00
tree_exp.h rcu: Add lockdep_assert_irqs_disabled() to rcu_exp_need_qs() 2024-12-14 17:10:38 +01:00
tree_nocb.h rcu/nocb: Fix missed RCU barrier on deoffloading 2024-11-12 22:51:52 +01:00
tree_plugin.h Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
tree_stall.h rcu: Finer-grained grace-period-end checks in rcu_dump_cpu_stacks() 2024-11-03 21:55:35 +01:00
tree.c rcutorture: Make cur_ops->format_gp_seqs take buffer length 2025-02-05 07:14:39 -08:00
tree.h Merge branches 'context_tracking.15.08.24a', 'csd.lock.15.08.24a', 'nocb.09.09.24a', 'rcutorture.14.08.24a', 'rcustall.09.09.24a', 'srcu.12.08.24a', 'rcu.tasks.14.08.24a', 'rcu_scaling_tests.15.08.24a', 'fixes.12.08.24a' and 'misc.11.08.24a' into next.09.09.24a 2024-09-09 00:09:47 +05:30
update.c torture: Add dowarn argument to torture_sched_setaffinity() 2024-12-14 16:38:23 +01:00