diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2019-08-15 10:18:42 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-10-30 08:34:10 -0700 |
commit | 5a6446626d7e062b47a5cc1cf27d5060e60bb0d9 (patch) | |
tree | 59566af8b4aece8c439a72b5d60aa9f8d7d7ef81 /kernel/backtracetest.c | |
parent | 1d24dd4e01fb6b928cf679e3e415ddff7016fa96 (diff) | |
download | linux-next-5a6446626d7e062b47a5cc1cf27d5060e60bb0d9.tar.gz |
workqueue: Convert for_each_wq to use built-in list check
Because list_for_each_entry_rcu() can now check for holding a
lock as well as for being in an RCU read-side critical section,
this commit replaces the workqueue_sysfs_unregister() function's
use of assert_rcu_or_wq_mutex() and list_for_each_entry_rcu() with
list_for_each_entry_rcu() augmented with a lockdep_is_held() optional
argument.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions