[PATCH] pid: use struct pid for talking about process groups in exitc
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 12 Feb 2007 08:52:57 +0000 (00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:32 +0000 (09:48 -0800)
commit0475ac0845f9295bc5f69af45f58dff2c104c8d1
tree2052ddeb6cc271238a1470a2fb3a7082bb1eefd1
parent04a2e6a5cbf84e85fe86de0a18f6509b147e1d89
[PATCH] pid: use struct pid for talking about process groups in exitc

Modify has_stopped_jobs and will_become_orphan_pgrp to use struct pid based
process groups.  This reduces the number of hash tables looks ups and paves
the way for multiple pid spaces.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c