diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-11-17 20:30:18 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-07 02:17:19 +0100 |
commit | ae19aaafae95a5487469433e9cae4c208f8d15cd (patch) | |
tree | 35b99f140c8f40c06954ab3e5608ff59cebdf21c /kernel/notifier.c | |
parent | rcutorture: Make rcu_torture_fakewriter() use blocking wait primitives (diff) | |
download | linux-ae19aaafae95a5487469433e9cae4c208f8d15cd.tar.xz linux-ae19aaafae95a5487469433e9cae4c208f8d15cd.zip |
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 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions