[PATCH] proc: Remove tasklist_lock from proc_pid_readdir
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:51 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:25 +0000 (09:58 -0700)
commit454cc105ef690f2a0ba7c6b194d55666b4e918ce
treeb3e4fef90f42ddd16afc324fcff6371e44f63255
parent0bc58a910220be3446eedc8e77fd45c0a16d8f25
[PATCH] proc: Remove tasklist_lock from proc_pid_readdir

We don't need the tasklist_lock to safely iterate through processes
anymore.

This depends on my previous to task patches that make get_task_struct rcu
safe, and that make next_task() rcu safe.  I haven't gotten
first_tid/next_tid yet only because next_thread is missing an
rcu_dereference.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c