summaryrefslogtreecommitdiffstats
path: root/kernel/signal.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
commitbfc4b0890af566940de6e7aeb4b5faf46d3c3513 (patch)
treed3c0d7ad6e3d619345acf7130f053514177bf5c7 /kernel/signal.c
parentsignals: do_signal_stop(): use signal_group_exit() (diff)
downloadlinux-bfc4b0890af566940de6e7aeb4b5faf46d3c3513.tar.xz
linux-bfc4b0890af566940de6e7aeb4b5faf46d3c3513.zip
signals: do_group_exit(): use signal_group_exit() more consistently
do_group_exit() checks SIGNAL_GROUP_EXIT to avoid taking sighand->siglock. Since ed5d2cac114202fe2978a9cbcab8f5032796d538 exec() doesn't set this flag, we should use signal_group_exit(). This is not needed for correctness, but can speedup the multithreaded exec and makes the code more consistent. 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 '')
0 files changed, 0 insertions, 0 deletions