forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/x86/kernel/step.c
....@@ -175,8 +175,7 @@
175175 *
176176 * NOTE: this means that set/clear TIF_BLOCKSTEP is only safe if
177177 * task is current or it can't be running, otherwise we can race
178
- * with __switch_to_xtra(). We rely on ptrace_freeze_traced() but
179
- * PTRACE_KILL is not safe.
178
+ * with __switch_to_xtra(). We rely on ptrace_freeze_traced().
180179 */
181180 local_irq_disable();
182181 debugctl = get_debugctlmsr();