Files
kernel/include/linux
Oleg Nesterov 47e65328a7 [PATCH] pids: kill PIDTYPE_TGID
This patch kills PIDTYPE_TGID pid_type thus saving one hash table in
kernel/pid.c and speeding up subthreads create/destroy a bit.  It is also a
preparation for the further tref/pids rework.

This patch adds 'struct list_head thread_group' to 'struct task_struct'
instead.

We don't detach group leader from PIDTYPE_PID namespace until another
thread inherits it's ->pid == ->tgid, so we are safe wrt premature
free_pidmap(->tgid) call.

Currently there are no users of find_task_by_pid_type(PIDTYPE_TGID).
Should the need arise, we can use find_task_by_pid()->group_leader.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-By: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-28 18:36:44 -08:00
..
2006-03-21 08:52:18 -08:00
2006-02-22 09:32:46 +00:00
2006-03-20 14:08:55 -05:00
2006-03-24 07:33:20 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:38:09 -08:00
2006-03-27 08:44:59 -08:00
2006-03-27 08:44:59 -08:00
2006-03-24 07:33:25 -08:00
2006-03-28 09:16:08 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:57:03 -08:00
2006-03-27 08:44:51 -08:00
2006-03-20 17:09:11 -08:00
2006-03-20 22:41:23 -08:00
2006-03-28 09:16:05 -08:00
2006-03-26 08:56:56 -08:00
2006-03-20 22:21:10 -08:00
2006-03-20 13:42:59 -08:00
2006-03-23 07:38:12 -08:00
2006-03-23 07:38:12 -08:00
2006-03-27 08:44:52 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:53:57 -08:00
2006-03-22 07:54:02 -08:00
2006-03-27 08:44:48 -08:00
2006-03-23 07:38:13 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:38:14 -08:00
2006-03-20 22:32:28 -08:00
2006-03-20 13:44:40 -05:00
2006-03-20 13:44:27 -05:00
2006-03-08 14:14:01 -08:00
2006-03-27 08:44:48 -08:00
2006-03-28 18:36:44 -08:00
2006-03-25 08:22:51 -08:00
2006-03-25 08:22:53 -08:00
2006-03-27 08:44:51 -08:00
2006-03-28 18:36:44 -08:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:57:09 -08:00
2006-03-20 22:41:23 -08:00
2006-03-28 09:16:05 -08:00
2006-03-24 07:33:31 -08:00
2006-03-23 07:38:07 -08:00
2006-03-26 08:57:03 -08:00
2006-03-26 08:57:03 -08:00
2006-03-23 07:38:11 -08:00
2006-03-26 08:57:00 -08:00
2006-03-23 07:38:14 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:12:57 -05:00