]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] do_task_stat(): don't take tty_mutex
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Dec 2006 10:36:07 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:38 +0000 (08:28 -0800)
commit915935041281c64589e2b7fe38437be22567fb6f
treefef15e8442be8ab8c72439ff916855444a8e95b8
parent24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517
[PATCH] do_task_stat(): don't take tty_mutex

->signal->tty is protected by ->siglock, no need to take the global tty_mutex.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/array.c