summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-30 09:52:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 17:29:33 +0200
commit573cf9ad72c13750e86c91de43477e9dfb440523 (patch)
tree7b7fab20559e2e96ec7e8aeefb156b35ee2c6c55 /kernel/exit.c
parentsignals: consolidate checking for ignored/legacy signals (diff)
downloadlinux-573cf9ad72c13750e86c91de43477e9dfb440523.tar.xz
linux-573cf9ad72c13750e86c91de43477e9dfb440523.zip
signals: do_signal_stop(): use signal_group_exit()
do_signal_stop() needs signal_group_exit() but checks sig->group_exit_task. This (optimization) is correct, SIGNAL_STOP_DEQUEUED and SIGNAL_GROUP_EXIT are mutually exclusive, but looks confusing. Use signal_group_exit(), this is not fastpath, the code clarity is more important. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> 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/exit.c')
0 files changed, 0 insertions, 0 deletions