diff options
| author | Oleg Nesterov <[email protected]> | 2013-11-13 15:36:12 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-27 13:50:50 +0100 |
| commit | bb8cbbfee68518796df4050868e5b0f5ad078f9f (patch) | |
| tree | 6f7813e8577bef51b31b32b362ef4cc7136a45c2 /include/linux/timerqueue.h | |
| parent | 39e24d8ffbb6aa90222527dbd5991ec49fbbf323 (diff) | |
tasks/fork: Remove unnecessary child->exit_state
A zombie task obviously can't fork(), remove the unnecessary
initialization of child->exit_state. It is zero anyway after
dup_task_struct().
Note: copy_process() is huge and it has a lot of chaotic
initializations, probably it makes sense to move them into the
new helper called by dup_task_struct().
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: David Laight <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions