diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-30 09:54:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:48 +0200 |
commit | 5cd204550b1a006f2b0c986b0e0f53220ebfd391 (patch) | |
tree | ee0f5e042072d4d2f4a3c6cd6e3a8b60676868ae /drivers | |
parent | Use find_task_by_vpid in taskstats (diff) | |
download | linux-5cd204550b1a006f2b0c986b0e0f53220ebfd391.tar.xz linux-5cd204550b1a006f2b0c986b0e0f53220ebfd391.zip |
Deprecate find_task_by_pid()
There are some places that are known to operate on tasks'
global pids only:
* the rest_init() call (called on boot)
* the kgdb's getthread
* the create_kthread() (since the kthread is run in init ns)
So use the find_task_by_pid_ns(..., &init_pid_ns) there
and schedule the find_task_by_pid for removal.
[sukadev@us.ibm.com: Fix warning in kernel/pid.c]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions