diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-04-30 07:52:37 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 15:29:33 (GMT) |
commit | 1406f2d321bae5ac5ff729dcb773336d9c05ec74 (patch) | |
tree | 178f7e2d800cee7be211225952f397458707587a /kernel/sys.c | |
parent | bfc4b0890af566940de6e7aeb4b5faf46d3c3513 (diff) | |
download | linux-fsl-qoriq-1406f2d321bae5ac5ff729dcb773336d9c05ec74.tar.xz |
lock_task_sighand: add rcu lock/unlock
Most of the callers of lock_task_sighand() doesn't actually need rcu_lock().
lock_task_sighand() needs it only to safely play with tsk->sighand, it can
take the lock itself.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions