summaryrefslogtreecommitdiff
path: root/lib/math
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-17 11:30:18 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-01-06 17:17:19 -0800
commitae19aaafae95a5487469433e9cae4c208f8d15cd (patch)
tree35b99f140c8f40c06954ab3e5608ff59cebdf21c /lib/math
parent682189a3f874db57b3e755512f2a2953f61fc54e (diff)
downloadlinux-stable-ae19aaafae95a5487469433e9cae4c208f8d15cd.tar.gz
torture: Add fuzzed hrtimer-based sleep functions
This commit adds torture_hrtimeout_ns(), torture_hrtimeout_us(), torture_hrtimeout_ms(), torture_hrtimeout_jiffies(), and torture_hrtimeout_s(), each of which uses hrtimers to block for a fuzzed time interval. These functions are intended to be used by the various torture tests to decouple wakeups from the timer wheel, thus providing more opportunity for Murphy to insert destructive race conditions. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/math')
0 files changed, 0 insertions, 0 deletions