Re: [patch 2/2] kprobes x86_64 quick fix mark-ro-data

Mathieu Desnoyers
2007-06-19T13:34:53Z

* Arjan van de Ven (arjan@infradead.org) wrote:
> On Tue, 2007-06-19 at 15:38 +0530, S. P. Prasanna wrote:
> > This patch is a quick fix for x86_64 to enable kprobes only if DEBUG_RODATA is
> > not configured. Since DEBUG_RODATA markes the kernel text pages as read-only.
>
>
> it does??
>
> I don't seem to be able to find this in the source code.....
>

See arch/x86_64/mm/init.c:mark_rodata_ro().

Mathieu