Re: [1/2] 2.6.22-rc5: known regressions with patches

Linus Torvalds
2007-06-20T22:39:53Z

On Thu, 21 Jun 2007, Ian McDonald wrote:
>
> Can this one be merged so that it makes it into 2.6.22?
>
> >
> > Subject : CONFIG_DEBUG_RODATA prevents kprobes from working on 2.6.22-rc2
> > References : http://lkml.org/lkml/2007/5/23/202
> > Submitter : William Cohen <wcohen@redhat.com>
> > Ian McDonald <ian.mcdonald@jandi.co.nz>
> > Handled-By : S. P. Prasanna <prasanna@in.ibm.com>
> > Patch : http://lkml.org/lkml/2007/6/7/2
> > Status : patch available
> >
>
> Regards,

Well, for 2.6.22, Kprobes will just be disabled if you use DEBUG_RODATA.

And yes, that patch already got merged. However, the patch to *allow*
Kprobes with DEBUG_RODATA is not, and will not be. It's not a regression,
and quite frankly, I don't think I would even want that patch.

Kprobes fundamntally disagrees with DEBUG_RODATA, there's no point in
"working around it". Better just admit it.

Linus