Message ID | 20231212173414.11602-4-neeraj.iitr10@gmail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 90f1015dfee3d33f8ca7bfe03296d100d465e385 |
Headers | show |
Series | RCU/lock torture updates for v6.8 | expand |
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index 30fc9d34e329..a0b2520bd32b 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -3872,7 +3872,9 @@ rcu_torture_init(void) } if (fqs_duration < 0) fqs_duration = 0; - if (fqs_duration) { + if (fqs_holdoff < 0) + fqs_holdoff = 0; + if (fqs_duration && fqs_holdoff) { /* Create the fqs thread */ firsterr = torture_create_kthread(rcu_torture_fqs, NULL, fqs_task);