Re: irq-disabled vs vmap vs text_poke

From: Mathieu Desnoyers
Date: Tue Feb 17 2009 - 12:29:20 EST


* Steven Rostedt (rostedt@xxxxxxxxxxx) wrote:
>
> On Tue, 17 Feb 2009, Mathieu Desnoyers wrote:
> > >
> >
> > Anyway dynamic ftrace only need to do code patching at early boot,
> > right? Or do you need also to patch the call sites a bit later too ?
> > Because there is a text_poke_early for that purpose : modifying code
> > when it is still writable.
>
> It modifies the code both at early boot up, and when it is enabled later
> on at run time.
>
> -- Steve
>

OK, so without text_poke, how does it deal with kernel with text pages
marked read-only after boot ?

Mathieu


--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/