Re: ftrace introduces instability into kernel 2.6.27(-rc2,-rc3)

From: Benjamin Herrenschmidt
Date: Tue Aug 19 2008 - 17:48:56 EST



>
> Ok, there are two cases where it's ok :
>
> 1 - in stop_machine, considering we are not touching code executed in
> NMI handlers.
> 2 - when using my replace_instruction_safe() which uses a temporary
> breakpoint when doing the instruction replacement.
>
> In those cases you could use text_poke_early().

Note that vmap/vunmap will be very slow.

Ben.


--
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/