summaryrefslogtreecommitdiff
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-07-26 13:57:03 -0700
committerFrederic Weisbecker <frederic@kernel.org>2023-09-24 17:24:01 +0200
commita741deac787f0d2d7068638c067db20af9e63752 (patch)
treedcf2586b545487b69044369c79eaa903c3989041 /kernel/rcu
parent40baf39fc57c61554dc744d924257940574ac76b (diff)
torture: Make torture_hrtimeout_ns() take an hrtimer mode parameter
The current torture-test sleeps are waiting for a duration, but there are situations where it is better to wait for an absolute time, for example, when ending a stutter interval. This commit therefore adds an hrtimer mode parameter to torture_hrtimeout_ns(). Why not also the other torture_hrtimeout_*() functions? The theory is that most absolute times will be in nanoseconds, especially not (say) jiffies. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions