Searched hist:ae19aaafae95a5487469433e9cae4c208f8d15cd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | torture.h | diff ae19aaafae95a5487469433e9cae4c208f8d15cd Tue Nov 17 13:30:18 CST 2020 Paul E. McKenney <paulmck@kernel.org> 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>
|
/openbmc/linux/kernel/ |
H A D | torture.c | diff ae19aaafae95a5487469433e9cae4c208f8d15cd Tue Nov 17 13:30:18 CST 2020 Paul E. McKenney <paulmck@kernel.org> 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>
|