__exit_signal: don't take rcu lock
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 25 Jul 2008 08:47:29 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:38 +0000 (10:53 -0700)
commit3854a771821c970065e3203a0b40ddc4101538cc
treeb6f56b8d426c4a9682dfc8605a08a5c60f96a599
parent100360f03077663b7bef3af44805b6cf700c3bee
__exit_signal: don't take rcu lock

There is no reason for rcu_read_lock() in __exit_signal().  tsk->sighand
can only be changed if tsk does exec, obviously this is not possible.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c