Files
linux-st/kernel
Oleg Nesterov 80628ca06c kernel/fork.c:copy_process(): unify CLONE_THREAD-or-thread_group_leader code
Cleanup and preparation for the next changes.

Move the "if (clone_flags & CLONE_THREAD)" code down under "if
(likely(p->pid))" and turn it into into the "else" branch.  This makes the
process/thread initialization more symmetrical and removes one check.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Sergey Dyasly <dserrg@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:08:03 -07:00
..
2013-07-01 11:18:53 +02:00
2013-04-22 07:09:06 -07:00
2013-07-03 16:08:02 -07:00
2013-04-15 13:25:16 +02:00
2013-06-25 23:11:19 +02:00
2013-05-05 00:16:35 -04:00
2013-04-30 17:04:03 -07:00
2013-07-03 16:08:02 -07:00