]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sigio: cleanup, don't take tasklist twice
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:03:29 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:57 +0000 (20:13 -0800)
commita16fd51d3fa0779761427e453e20612175dce9de
treee02e6bbfd670c7250134c894356d9599a35820bd
parentc1c3a7b4b566a2399d0a7ea83e4aaf2a6bb3533f
[PATCH] sigio: cleanup, don't take tasklist twice

The only user of send_sigio_to_task() already holds tasklist_lock, so it is
better not to send the signal via send_group_sig_info() (which takes
tasklist recursively) but use group_send_sig_info().

The same change in send_sigurg()->send_sigurg_to_task().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fcntl.c