]> git.baikalelectronics.ru Git - kernel.git/commit
__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)
commitdf6dd0acd9c20dd4007693e6297caafcd65594b4
treeb6f56b8d426c4a9682dfc8605a08a5c60f96a599
parent5594d0de4d22f43bdb95aa60c8b2f3ce858be1f4
__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