|
@@ -1023,8 +1023,10 @@ rcu_torture_reader(void *arg)
|
|
cond_resched();
|
|
cond_resched();
|
|
stutter_wait("rcu_torture_reader");
|
|
stutter_wait("rcu_torture_reader");
|
|
} while (!torture_must_stop());
|
|
} while (!torture_must_stop());
|
|
- if (irqreader && cur_ops->irq_capable)
|
|
|
|
|
|
+ if (irqreader && cur_ops->irq_capable) {
|
|
del_timer_sync(&t);
|
|
del_timer_sync(&t);
|
|
|
|
+ destroy_timer_on_stack(&t);
|
|
|
|
+ }
|
|
torture_kthread_stopping("rcu_torture_reader");
|
|
torture_kthread_stopping("rcu_torture_reader");
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|