summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-17 22:32:54 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-01-07 04:17:19 +0300
commitea31fd9ca87399ac4e03cd6c215451fa7dc366e4 (patch)
tree697388cc7b8d32af57a5b078965fdcc30b77dc3a /lib/mpi/mpi-cmp.c
parentae19aaafae95a5487469433e9cae4c208f8d15cd (diff)
downloadlinux-ea31fd9ca87399ac4e03cd6c215451fa7dc366e4.tar.xz
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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions