From: Sukadev Bhattiprolu Date: Fri, 11 May 2007 05:22:58 +0000 (-0700) Subject: attach_pid() with struct pid parameter X-Git-Tag: v2.6.22-rc1~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e713d0dab21a68500720e222fa02567fc7dfb14b;p=pandora-kernel.git 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 Cc: Cedric Le Goater Cc: Dave Hansen Cc: Serge Hallyn Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed