From: Eric W. Biederman Date: Mon, 26 Jun 2006 07:26:01 +0000 (-0700) Subject: [PATCH] proc: Remove tasklist_lock from proc_task_readdir. X-Git-Tag: v2.6.18-rc1~745 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc288738c9ae3c64d3c50b86604044d1f6d22941;p=pandora-kernel.git [PATCH] proc: Remove tasklist_lock from proc_task_readdir. This is just like my previous removal of tasklist_lock from first_tgid, and next_tgid. It simply had to wait until it was rcu safe to walk the thread list. This should be the last instance of the tasklist_lock in proc. So user processes should not be able to influence the tasklist lock hold times. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed