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

From: Roland McGrath
Date: Thu May 28 2009 - 17:24:48 EST

> 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.

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