if (stall_cpu <= 0)
return 0;
+ VERBOSE_TOROUT_STRING("Creating rcu_torture_stall task");
stall_task = kthread_run(rcu_torture_stall, NULL, "rcu_torture_stall");
if (IS_ERR(stall_task)) {
ret = PTR_ERR(stall_task);
return -ENOMEM;
for (i = 0; i < n_barrier_cbs; i++) {
init_waitqueue_head(&barrier_cbs_wq[i]);
+ VERBOSE_TOROUT_STRING("Creating rcu_torture_barrier_cbs task");
barrier_cbs_tasks[i] = kthread_run(rcu_torture_barrier_cbs,
(void *)(long)i,
"rcu_torture_barrier_cbs");
}
torture_shuffle_task_register(barrier_cbs_tasks[i]);
}
+ VERBOSE_TOROUT_STRING("Creating rcu_torture_barrier task");
barrier_task = kthread_run(rcu_torture_barrier, NULL,
"rcu_torture_barrier");
if (IS_ERR(barrier_task)) {
fqs_duration = 0;
if (fqs_duration) {
/* Create the fqs thread */
+ VERBOSE_TOROUT_STRING("Creating rcu_torture_fqs task");
fqs_task = kthread_run(rcu_torture_fqs, NULL,
"rcu_torture_fqs");
if (IS_ERR(fqs_task)) {
onoff_interval = oointerval;
if (onoff_interval <= 0)
return 0;
+ VERBOSE_TOROUT_STRING("Creating torture_onoff task");
onoff_task = kthread_run(torture_onoff, NULL, "torture_onoff");
if (IS_ERR(onoff_task)) {
ret = PTR_ERR(onoff_task);
}
/* Create the shuffler thread */
+ VERBOSE_TOROUT_STRING("Creating torture_shuffle task");
shuffler_task = kthread_run(torture_shuffle, NULL, "torture_shuffle");
if (IS_ERR(shuffler_task)) {
ret = PTR_ERR(shuffler_task);
shutdown_secs = ssecs;
torture_shutdown_hook = cleanup;
if (shutdown_secs > 0) {
+ VERBOSE_TOROUT_STRING("Creating torture_shutdown task");
shutdown_time = jiffies + shutdown_secs * HZ;
shutdown_task = kthread_create(torture_shutdown, NULL,
"torture_shutdown");
int ret;
stutter = s;
+ VERBOSE_TOROUT_STRING("Creating torture_stutter task");
stutter_task = kthread_run(torture_stutter, NULL, "torture_stutter");
if (IS_ERR(stutter_task)) {
ret = PTR_ERR(stutter_task);