diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-10 22:52:30 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-11-29 00:52:33 +0100 |
commit | d633198088bd9e358566c470ed182994403acc7a (patch) | |
tree | 41a5a7824e5e52f81c5c7a8794e80c6b5bd62834 /mm | |
parent | Linux 4.15-rc1 (diff) | |
download | linux-d633198088bd9e358566c470ed182994403acc7a.tar.xz linux-d633198088bd9e358566c470ed182994403acc7a.zip |
srcu: Prohibit call_srcu() use under raw spinlocks
Invoking queue_delayed_work() while holding a raw spinlock is forbidden
in -rt kernels, which is exactly what __call_srcu() does, indirectly via
srcu_funnel_gp_start(). This commit therefore downgrades Tree SRCU's
locking from raw to non-raw spinlocks, which works because call_srcu()
is not ever called while holding a raw spinlock.
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions