summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-09-21 19:57:12 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-04-24 21:44:42 -0400
commitaf4c9ea20189526ad02c635c4cf4ff976e98d654 (patch)
tree4dd2999401f6d620baa5c687419fabdc1119df48
parent7876d383f43efd581f90467c9b5c1a60bcf99523 (diff)
downloadlinux-rt-af4c9ea20189526ad02c635c4cf4ff976e98d654.tar.gz
signal-revert-ptrace-preempt-magic.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/signal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ded28b91fa53..8ed72873ccab 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1908,15 +1908,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info)
if (gstop_done && ptrace_reparented(current))
do_notify_parent_cldstop(current, false, why);
- /*
- * Don't want to allow preemption here, because
- * sys_ptrace() needs this task to be inactive.
- *
- * XXX: implement read_unlock_no_resched().
- */
- preempt_disable();
read_unlock(&tasklist_lock);
- preempt_enable_no_resched();
freezable_schedule();
} else {
/*