Re: [RFA][PATCH 1/5] ftrace/x86: Run a sync after fixup on failure

From: H. Peter Anvin
Date: Mon Mar 03 2014 - 17:27:59 EST


On 03/03/2014 02:18 PM, Steven Rostedt wrote:
>
> How's this sound:
>
> The second bug was that the removal of the breakpoints required the
> "within()" logic updates instead of accessing the ip address directly.
> As kernel text is mapped read-only when CONFIG_DEBUG_RODATA is set, and
> the removal of the breakpoint is a modification of kernel text.
>

I'd add:

"ftrace_write() includes this, but probe_kernel_write() does not."

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/