Oleg Nesterov
1b0f7ffd0e
pids: kill signal_struct-> __pgrp/__session and friends
...
We are wasting 2 words in signal_struct without any reason to implement
task_pgrp_nr() and task_session_nr().
task_session_nr() has no callers since
2e2ba22ea4fd4bb85f0fa37c521066db6775cbef, we can remove it.
task_pgrp_nr() is still (I believe wrongly) used in fs/autofsX and
fs/coda.
This patch reimplements task_pgrp_nr() via task_pgrp_nr_ns(), and kills
__pgrp/__session and the related helpers.
The change in drivers/char/tty_io.c is cosmetic, but hopefully makes sense
anyway.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Alan Cox <number6@the-village.bc.nu> [tty parts]
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-02 19:05:02 -07:00
..
2009-03-27 15:12:08 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 08:59:08 -07:00
2009-03-31 01:14:44 +04:00
2009-01-06 10:44:38 -08:00
2009-04-01 08:59:08 -07:00
2009-01-02 10:19:38 -08:00
2009-03-26 11:17:04 -07:00
2008-12-17 11:23:07 -08:00
2009-04-01 08:59:10 -07:00
2008-07-16 23:27:02 +02:00
2008-10-16 11:21:47 -07:00
2008-06-20 14:05:55 -06:00
2009-01-13 14:48:00 +11:00
2009-01-06 15:59:30 -08:00
2008-12-13 11:25:49 -08:00
2008-06-20 14:05:53 -06:00
2009-04-01 08:59:08 -07:00
2008-10-20 08:52:41 -07:00
2008-12-13 09:12:07 +00:00
2008-10-16 09:24:42 -07:00
2008-06-20 14:05:53 -06:00
2008-08-04 16:59:56 -07:00
2009-01-06 11:28:07 +01:00
2008-07-20 17:12:36 -07:00
2009-01-02 10:19:38 -08:00
2008-06-12 18:05:41 -07:00
2009-01-02 10:19:40 -08:00
2008-06-20 14:05:57 -06:00
2009-04-02 19:05:01 -07:00
2009-01-08 16:25:16 +11:00
2009-01-16 16:15:16 +11:00
2008-12-03 21:04:13 +11:00
2009-01-13 14:48:01 +11:00
2008-12-03 21:04:09 +11:00
2009-03-26 15:24:08 +01:00
2008-11-19 16:04:25 +11:00
2008-12-03 21:04:09 +11:00
2008-10-22 10:59:54 +11:00
2009-03-11 10:44:26 +11:00
2009-03-11 10:44:26 +11:00
2009-01-02 10:28:32 -08:00
2009-01-02 10:19:40 -08:00
2009-04-01 08:59:08 -07:00
2009-01-31 01:21:59 +01:00
2008-10-08 23:45:36 -04:00
2008-10-16 09:24:42 -07:00
2008-12-28 16:54:33 -08:00
2008-06-20 14:05:48 -06:00
2009-01-06 15:59:05 -08:00
2008-10-16 09:24:42 -07:00
2008-07-17 11:34:49 -07:00
2009-01-02 10:19:38 -08:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2009-01-02 10:19:40 -08:00
2008-04-30 08:29:49 -07:00
2008-10-13 09:51:44 -07:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2008-11-11 09:56:00 +00:00
2008-12-13 09:12:07 +00:00
2008-10-20 08:52:40 -07:00
2008-10-16 09:24:42 -07:00
2009-01-16 16:15:14 +11:00
2009-01-12 16:37:00 -08:00
2009-04-02 19:04:49 -07:00
2009-03-27 10:59:09 -06:00
2009-01-02 10:19:40 -08:00
2008-07-20 17:12:38 -07:00
2009-01-02 10:19:39 -08:00
2009-01-02 10:19:42 -08:00
2009-01-02 10:19:39 -08:00
2009-01-08 16:44:03 -07:00
2009-02-22 09:23:02 -08:00
2008-06-20 14:05:53 -06:00
2009-01-31 15:51:31 -08:00
2009-01-12 20:56:39 +01:00
2009-01-02 10:19:40 -08:00
2008-05-16 12:01:45 -07:00
2008-10-16 09:24:42 -07:00
2009-03-16 08:34:35 -06:00
2008-07-20 17:12:38 -07:00
2009-01-02 10:19:40 -08:00
2009-04-01 08:59:09 -07:00
2009-02-20 17:57:49 -08:00
2009-04-02 19:05:01 -07:00
2009-04-01 08:59:09 -07:00
2009-04-01 08:59:09 -07:00
2009-04-01 09:22:24 -07:00
2008-06-20 14:05:53 -06:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-12-09 20:32:06 +11:00
2008-10-13 09:51:40 -07:00
2009-04-02 19:05:02 -07:00
2009-01-15 12:48:35 -08:00
2009-01-02 10:19:38 -08:00
2009-01-02 10:19:42 -08:00
2009-03-24 16:38:26 -07:00
2008-10-16 09:24:42 -07:00
2008-12-30 09:26:10 +10:30
2009-01-12 20:56:38 +01:00
2008-10-16 16:52:05 +02:00
2009-01-02 10:19:40 -08:00
2009-03-24 16:38:26 -07:00