Sukadev Bhattiprolu e713d0dab2 attach_pid() with struct pid parameter
attach_pid() currently takes a pid_t and then uses find_pid() to find the
corresponding struct pid.  Sometimes we already have the struct pid.  We can
then skip find_pid() if attach_pid() were to take a struct pid parameter.

Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: <containers@lists.osdl.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-11 08:29:35 -07:00
..
2007-05-09 12:30:48 -07:00
2007-05-09 12:30:56 -07:00
2006-09-11 13:32:30 -04:00
2007-02-11 10:51:32 -08:00
2007-05-11 08:29:35 -07:00
2007-05-11 08:29:35 -07:00
2007-05-09 12:30:55 -07:00
2007-05-09 12:30:55 -07:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2007-05-09 07:26:28 +02:00
2007-05-09 12:30:56 -07:00
2007-05-11 08:29:35 -07:00
2006-09-29 09:18:12 -07:00
2007-05-09 12:30:55 -07:00
2007-05-09 12:30:55 -07:00
2007-05-11 08:29:35 -07:00
2006-12-07 08:39:25 -08:00
2007-05-09 08:57:56 +02:00