diff options
| author | Paul E. McKenney <[email protected]> | 2025-01-10 19:26:23 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-02-05 15:14:40 +0000 |
| commit | 536e8b9b80bc7a0a8e87af2d5fb7fe3e230669ca (patch) | |
| tree | eda5b58de8dc6fe220eb018732733edca030d5f7 /net/unix/af_unix.c | |
| parent | rcutorture: Complain when invalid SRCU reader_flavor is specified (diff) | |
| download | kernel-536e8b9b80bc7a0a8e87af2d5fb7fe3e230669ca.tar.gz kernel-536e8b9b80bc7a0a8e87af2d5fb7fe3e230669ca.zip | |
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 <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
