Merge 5.4-rc1 into android-mainline
Linux 5.4-rc1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I15eec52df70f829acf81ff614a1c2a5fb443a4e0
This commit is contained in:
@@ -918,10 +918,12 @@ static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
|
||||
tsk->cpus_ptr = &tsk->cpus_mask;
|
||||
|
||||
/*
|
||||
* One for us, one for whoever does the "release_task()" (usually
|
||||
* parent)
|
||||
* One for the user space visible state that goes away when reaped.
|
||||
* One for the scheduler.
|
||||
*/
|
||||
refcount_set(&tsk->usage, 2);
|
||||
refcount_set(&tsk->rcu_users, 2);
|
||||
/* One for the rcu users */
|
||||
refcount_set(&tsk->usage, 1);
|
||||
#ifdef CONFIG_BLK_DEV_IO_TRACE
|
||||
tsk->btrace_seq = 0;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user