git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08efd10
)
[PATCH] remove unneeded sig->curr_target recalculation
author
Oleg Nesterov
<oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:03:28 +0000
(
01:03
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:57 +0000
(20:13 -0800)
This patch removes unneeded sig->curr_target recalculation under 'if
(atomic_dec_and_test(&sig->count))' in __exit_signal().
When sig->count == 0 the signal can't be sent to this task and
next_thread(tsk) == tsk anyway.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c
patch
|
blob
|
history
diff --cc
kernel/signal.c
Simple merge