diff options
author | 2022-11-09 15:36:38 +0800 | |
---|---|---|
committer | 2022-12-01 15:49:12 -0800 | |
commit | 51f5f78a4f804aeb73cf12a7cbba6e5198abd908 (patch) | |
tree | dd26106fc99481083dffc714542e17214fcd2c10 /include/linux/console.h | |
parent | rcu: Make SRCU mandatory (diff) | |
download | linux-rng-51f5f78a4f804aeb73cf12a7cbba6e5198abd908.tar.xz linux-rng-51f5f78a4f804aeb73cf12a7cbba6e5198abd908.zip |
srcu: Make Tiny synchronize_srcu() check for readers
This commit adds lockdep checks for illegal use of synchronize_srcu()
within same-type SRCU read-side critical sections and within normal
RCU read-side critical sections. It also makes synchronize_srcu()
be a no-op during early boot.
These changes bring Tiny synchronize_srcu() into line with both Tree
synchronize_srcu() and Tiny synchronize_rcu().
Signed-off-by: Zqiang <qiang1.zhang@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'include/linux/console.h')
0 files changed, 0 insertions, 0 deletions