• Paul E. McKenney's avatar
    rcutorture: Use torture_hrtimeout_jiffies() to avoid busy-waits · ea31fd9c
    Paul E. McKenney authored
    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: default avatarPaul E. McKenney <paulmck@kernel.org>
    ea31fd9c
rcutorture.c 90.8 KB