]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Simpler signal-exit concurrency handling
authorPaul E. McKenney <paulmck@us.ibm.com>
Sun, 8 Jan 2006 09:01:38 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:40 +0000 (20:13 -0800)
commitdd77bd8a31d40aa14f4226ce97dadb223e83cab8
tree129971e5c75545c53236be294f521ec6e7021a2d
parentca926f9065bfceda51dc63b1aba494aab1580cbd
[PATCH] Simpler signal-exit concurrency handling

Some simplification in checking signal delivery against concurrent exit.
Instead of using get_task_struct_rcu(), which increments the task_struct
reference count, check the reference count after acquiring sighand lock.

Signed-off-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c