]> err.no Git - linux-2.6/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)
commit850d6fbe70c62a9792eac3e8ef34f2f09f209895
treee02e6bbfd670c7250134c894356d9599a35820bd
parent86174cdcb44c095ffd2e3ca69caa56244cf701d5
[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