From: Eric W. Biederman Date: Thu, 13 Apr 2006 10:49:07 +0000 (-0600) Subject: [PATCH] do_SAK: Don't recursively take the tasklist_lock X-Git-Tag: v2.6.17-rc2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ac94378de59d61dc39f10ed5530485e4ac8c07;p=pandora-kernel.git [PATCH] do_SAK: Don't recursively take the tasklist_lock By calling send_sig do_SAK is recursively taking the tasklist_lock, which is silly. In addition I just audited the kernel and this was the only place where tasklist_lock is taken inside of task_lock. So this one line change is a general worthwhile cleanup and it increases our options on how to fix the ptrace_attach races. Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed