summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/srcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-17 11:32:54 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-01-06 17:17:19 -0800
commitea31fd9ca87399ac4e03cd6c215451fa7dc366e4 (patch)
tree697388cc7b8d32af57a5b078965fdcc30b77dc3a /kernel/rcu/srcutree.c
parentae19aaafae95a5487469433e9cae4c208f8d15cd (diff)
downloadlinux-ea31fd9ca87399ac4e03cd6c215451fa7dc366e4.tar.bz2
rcutorture: Use torture_hrtimeout_jiffies() to avoid busy-waits
Because rcu_torture_writer() and rcu_torture_fakewriter() predate hrtimers, they do timer-wheel-decoupled timed waits by using the timer-wheel-based schedule_timeout_interruptible() functions in conjunction with a random udelay()-based wait. This latter unnecessarily burns CPU time, so this commit instead uses torture_hrtimeout_jiffies() to decouple from the timer wheels without busy-waiting. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/srcutree.c')
0 files changed, 0 insertions, 0 deletions