summaryrefslogtreecommitdiffstats
path: root/kernel/test_kprobes.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-04-01 20:12:16 +0200
committerTejun Heo <tj@kernel.org>2011-04-04 02:11:04 +0200
commit780006eac2fe7f4d2582da16a096e5a44c4767ff (patch)
tree13d315029abead58b8b88071c7177271824b211a /kernel/test_kprobes.c
parent1deac632fc3dcff33a6df3e82ef10c738ac13fe6 (diff)
downloadlinux-stable-780006eac2fe7f4d2582da16a096e5a44c4767ff.tar.gz
linux-stable-780006eac2fe7f4d2582da16a096e5a44c4767ff.tar.bz2
linux-stable-780006eac2fe7f4d2582da16a096e5a44c4767ff.zip
signal: do_signal_stop: Remove the unneeded task_clear_group_stop_pending()
PF_EXITING or TASK_STOPPED has already called task_participate_group_stop() and cleared its ->group_stop. No need to do task_clear_group_stop_pending() when we start the new group stop. Add a small comment to explain the !task_is_stopped() check. Note that this check is not exactly right and it can lead to unnecessary stop later if the thread is TASK_PTRACED. What we need is task_participated_in_group_stop(), this will be solved later. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/test_kprobes.c')
0 files changed, 0 insertions, 0 deletions