On Tue, 18 Dec 2018, Davidlohr Bueso wrote:
+void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task) +{ + if (!__wake_q_add(head, task)) + get_task_struct(task);
*sigh* and this should be put().
On Tue, 18 Dec 2018, Davidlohr Bueso wrote:
+void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task) +{ + if (!__wake_q_add(head, task)) + get_task_struct(task);
*sigh* and this should be put().