]> err.no Git - linux-2.6/commit
[PATCH] proc: Remove tasklist_lock from proc_pid_lookup() and proc_task_lookup()
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)
commitde7587343bfebc186995ad294e3de0da382eb9bc
treedb5d696d19c8255bd58929516be79409743c6081
parent454cc105ef690f2a0ba7c6b194d55666b4e918ce
[PATCH] proc: Remove tasklist_lock from proc_pid_lookup() and proc_task_lookup()

Since we no longer need the tasklist_lock for get_task_struct the lookup
methods no longer need the tasklist_lock.

This just depends on my previous patch that makes get_task_struct() rcu
safe.

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