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

2007-06-19 Thread S. P. Prasanna
On Tue, Jun 19, 2007 at 06:44:30AM -0700, Arjan van de Ven wrote: > On Tue, 2007-06-19 at 09:30 -0400, Mathieu Desnoyers wrote: > > * Arjan van de Ven ([EMAIL PROTECTED]) 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 kpr

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

2007-06-19 Thread Arjan van de Ven
On Tue, 2007-06-19 at 09:30 -0400, Mathieu Desnoyers wrote: > * Arjan van de Ven ([EMAIL PROTECTED]) 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_RODA

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

2007-06-19 Thread Mathieu Desnoyers
* Arjan van de Ven ([EMAIL PROTECTED]) 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?? >

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

2007-06-19 Thread Arjan van de Ven
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. - To

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

2007-06-19 Thread S. P. Prasanna
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. Signed-off-by: Prasanna S P. <[EMAIL PROTECTED]> arch/x86_64/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff