oom: move oom_adj value from task_struct to signal_struct
[deliverable/linux.git] / kernel / fork.c
index 73a442b7be6dff8a2abce0d3537a3cd9cb0db910..1020977b57ca3d110cd7792dc004a571366cc777 100644 (file)
@@ -880,6 +880,8 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
 
        tty_audit_fork(sig);
 
+       sig->oom_adj = current->signal->oom_adj;
+
        return 0;
 }
 
This page took 0.03437 seconds and 5 git commands to generate.