[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180724032419.20231-1-ebiederm@xmission.com>
Date: Mon, 23 Jul 2018 22:24:00 -0500
From: "Eric W. Biederman" <ebiederm@...ssion.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Oleg Nesterov <oleg@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Wen Yang <wen.yang99@....com.cn>,
majiang <ma.jiang@....com.cn>,
"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: [PATCH 01/20] pids: Initialize leader_pid in init_task
This is cheap and no cost so we might as well.
Signed-off-by: "Eric W. Biederman" <ebiederm@...ssion.com>
---
init/init_task.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/init/init_task.c b/init/init_task.c
index 74f60baa2799..7914ffb8dc73 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -33,6 +33,7 @@ static struct signal_struct init_signals = {
},
#endif
INIT_CPU_TIMERS(init_signals)
+ .leader_pid = &init_struct_pid,
INIT_PREV_CPUTIME(init_signals)
};
--
2.17.1
Powered by blists - more mailing lists