Home
last modified time | relevance | path

Searched hist:"36 f65f1d1553e35cd9e6b281271f40d639a128c3" (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/rcu/
H A Dsrcutree.cdiff 36f65f1d1553e35cd9e6b281271f40d639a128c3 Tue Sep 20 23:54:41 CEST 2022 Paul E. McKenney <paulmck@kernel.org> srcu: Check for consistent global per-srcu_struct NMI safety

This commit adds runtime checks to verify that a given srcu_struct uses
consistent NMI-safe (or not) read-side primitives globally, but based
on the per-CPU data. These global checks are made by the grace-period
code that must scan the srcu_data structures anyway, and are done only
in kernels built with CONFIG_PROVE_RCU=y.

Link: https://lore.kernel.org/all/20220910221947.171557773@linutronix.de/

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Petr Mladek <pmladek@suse.com>