Re: [RFC PATCH 11/12 v2] ptrace: mv task_struct->ptrace_messageptrace_ctx->message

From: Oleg Nesterov
Date: Fri May 29 2009 - 08:29:00 EST

On 05/28, Roland McGrath wrote:
> > Perhaps it is better to optimize out "mask != 0" check in ptrace_event().
> > This special !mask case is only needed for _report_clone(), we can use
> > mask == PT_PTRACED instead.
> Sure, that is fine. But note it should always have been compiled away
> before anyway, since it's inline and constant in every caller.

Ah, I missed that.

I wonder if can kill "int trace" in do_fork/copy_process. Looks like we


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at