summaryrefslogtreecommitdiffstats
path: root/Documentation/debugging-via-ohci1394.txt
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-03-23 10:37:00 +0100
committerTejun Heo <tj@kernel.org>2011-03-23 10:37:00 +0100
commit0ae8ce1c8c5b9007ce6bfc83ec2aa0dfce5bbed3 (patch)
treef92abf6b41e9524966849972427fadcb7a7ef3f7 /Documentation/debugging-via-ohci1394.txt
parentsignal: Use GROUP_STOP_PENDING to stop once for a single group stop (diff)
downloadlinux-0ae8ce1c8c5b9007ce6bfc83ec2aa0dfce5bbed3.tar.xz
linux-0ae8ce1c8c5b9007ce6bfc83ec2aa0dfce5bbed3.zip
ptrace: Participate in group stop from ptrace_stop() iff the task is trapping for group stop
Currently, ptrace_stop() unconditionally participates in group stop bookkeeping. This is unnecessary and inaccurate. Make it only participate if the task is trapping for group stop - ie. if @why is CLD_STOPPED. As ptrace_stop() currently is not used when trapping for group stop, this equals to disabling group stop participation from ptrace_stop(). A visible behavior change is increased likelihood of delayed group stop completion if the thread group contains one or more ptraced tasks. This is to preapre for further cleanup of the interaction between group stop and ptrace. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Oleg Nesterov <oleg@redhat.com> Cc: Roland McGrath <roland@redhat.com>
Diffstat (limited to 'Documentation/debugging-via-ohci1394.txt')
0 files changed, 0 insertions, 0 deletions