Re: [PATCH 0/3] Rewrite x86/ftrace to use text_poke()

From: Peter Zijlstra
Date: Mon Aug 26 2019 - 09:04:22 EST


On Mon, Aug 26, 2019 at 02:51:38PM +0200, Peter Zijlstra wrote:
> Ftrace was one of the last W^X violators; these patches move it over to the
> generic text_poke() interface and thereby get rid of this oddity.
>
> Very lightly tested...

I'm thinking there's more cleanup to be had; set_kernel_text_*() can go
away now, and I'm thinking the whole batching thing can be further
simplified/shared between this and jump_label.