Searched refs:writer_task (Results 1 – 2 of 2) sorted by relevance
114 static struct task_struct *writer_task; variable877 current == writer_task); in rcu_torture_writer()1192 if (writer_task) in rcu_torture_shuffle_tasks()1193 set_cpus_allowed_ptr(writer_task, shuffle_tmp_mask); in rcu_torture_shuffle_tasks()1358 if (writer_task) { in rcu_torture_cleanup()1360 kthread_stop(writer_task); in rcu_torture_cleanup()1362 writer_task = NULL; in rcu_torture_cleanup()1505 writer_task = kthread_run(rcu_torture_writer, NULL, in rcu_torture_init()1507 if (IS_ERR(writer_task)) { in rcu_torture_init()1508 firsterr = PTR_ERR(writer_task); in rcu_torture_init()[all …]
99 13 if (writer_task != NULL) {101 15 kthread_stop(writer_task);103 17 writer_task = NULL;