diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-10-10 05:51:55 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-11-07 04:13:57 +0300 |
commit | a7eb937b67b64b8b4645f1ebca3ac2079c6de81b (patch) | |
tree | 37a9c9aa377bef48b7075450da31cee4590c1a80 /tools/include/nolibc | |
parent | 0d7202876bcb968a68f5608b9ff7a824fbc7e94d (diff) | |
download | linux-a7eb937b67b64b8b4645f1ebca3ac2079c6de81b.tar.xz |
rcutorture: Don't do need_resched() testing if ->sync is NULL
If cur_ops->sync is NULL, rcu_torture_fwd_prog_nr() will nevertheless
attempt to call through it. This commit therefore flags cases where
neither need_resched() nor call_rcu() forward-progress testing
can be performed due to NULL function pointers, and also causes
rcu_torture_fwd_prog_nr() to take an early exit if cur_ops->sync()
is NULL.
Reported-by: Tom Rix <trix@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/include/nolibc')
0 files changed, 0 insertions, 0 deletions