diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcutorture.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 27003e2421c7..0c40c13c5402 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -196,7 +196,10 @@ static void | |||
196 | rcu_stutter_wait(void) | 196 | rcu_stutter_wait(void) |
197 | { | 197 | { |
198 | while (stutter_pause_test || !rcutorture_runnable) | 198 | while (stutter_pause_test || !rcutorture_runnable) |
199 | schedule_timeout_interruptible(1); | 199 | if (rcutorture_runnable) |
200 | schedule_timeout_interruptible(1); | ||
201 | else | ||
202 | schedule_timeout_interruptible(HZ); | ||
200 | } | 203 | } |
201 | 204 | ||
202 | /* | 205 | /* |