summaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorOleg Nesterov2007-10-17 08:27:24 +0200
committerLinus Torvalds2007-10-17 17:42:54 +0200
commit13fbcb731220341537131b32cf01b1e70df7206d (patch)
treebe6bd965e921b0918eb7b55626a0196915302f07 /scripts/checkstack.pl
parentexec: RT sub-thread can livelock and monopolize CPU on exec (diff)
downloadkernel-qcow2-linux-13fbcb731220341537131b32cf01b1e70df7206d.tar.gz
kernel-qcow2-linux-13fbcb731220341537131b32cf01b1e70df7206d.tar.xz
kernel-qcow2-linux-13fbcb731220341537131b32cf01b1e70df7206d.zip
do_sigaction: don't worry about signal_pending()
do_sigaction() returns -ERESTARTNOINTR if signal_pending(). The comment says: * If there might be a fatal signal pending on multiple * threads, make sure we take it before changing the action. I think this is not needed. We should only worry about SIGNAL_GROUP_EXIT case, bit it implies a pending SIGKILL which can't be cleared by do_sigaction. Kill this special case. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: 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 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions