[PATCH] do_acct_process(): 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)
commit7bcfa95e561f11a17720162935e4f704c5d6fda3
tree3386b5d140064ffd6fa77cc7d900bc690f7ad3a8
parent915935041281c64589e2b7fe38437be22567fb6f
[PATCH] do_acct_process(): don't take tty_mutex

No need to take the global tty_mutex, signal->tty->driver can't go away while
we are holding ->siglock.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/acct.c