Automatic process group scheduling
/drivers/char/tty_io.c
blob:53ffcfc1154bef0b72f33fc362905c5a6c250d35 -> blob:56c699f6774b005ef79813be3e65f3c34bf2a2dd
--- drivers/char/tty_io.c
+++ drivers/char/tty_io.c
@@ -3029,6 +3029,8 @@ static void __proc_set_tty(struct task_s
put_pid(tsk->signal->tty_old_pgrp);
tsk->signal->tty = tty_kref_get(tty);
tsk->signal->tty_old_pgrp = NULL;
+
+ sched_autogroup_create_attach(tsk);
}
static void proc_set_tty(struct task_struct *tsk, struct tty_struct *tty)