diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-10-10 18:05:27 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-12-09 21:37:50 +0100 |
commit | 03bd2983d7a9f898fd89f8f7215c3e56732d8ecd (patch) | |
tree | 7e0795b0f8be3c7e9a507b2746a49ea2f5ef8819 /kernel/sysctl.c | |
parent | rcu: Avoid data-race in rcu_gp_fqs_check_wake() (diff) | |
download | linux-03bd2983d7a9f898fd89f8f7215c3e56732d8ecd.tar.xz linux-03bd2983d7a9f898fd89f8f7215c3e56732d8ecd.zip |
rcu: Use lockdep rather than comment to enforce lock held
The rcu_preempt_check_blocked_tasks() function has a comment
that states that the rcu_node structure's ->lock must be held,
which might be informative, but which carries little weight if
not read. This commit therefore removes this comment in favor of
raw_lockdep_assert_held_rcu_node(), which will complain quite
visibly if the required lock is not held.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions