mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
sched: fix the task_group hierarchy for UID grouping
UID grouping doesn't actually have a task_group representing the root of the task_group tree. Add one. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ec7dc8ac73
commit
eff766a65c
3 changed files with 45 additions and 3 deletions
|
@ -101,7 +101,7 @@ static int sched_create_user(struct user_struct *up)
|
|||
{
|
||||
int rc = 0;
|
||||
|
||||
up->tg = sched_create_group(NULL);
|
||||
up->tg = sched_create_group(&root_task_group);
|
||||
if (IS_ERR(up->tg))
|
||||
rc = -ENOMEM;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue