[PATCH -v5 00/17] Rewrite x86/ftrace to use text_poke (and more)

Peter Zijlstra
2019-11-11T14:47:20Z

Ftrace is one of the last W^X violators (after this only KLP is left). These
patches move it over to the generic text_poke() interface and thereby get rid
of this oddity.

The first 14 patches are the same as in the -v4 posting. The last 3 patches are
new.

Will, patch 13, arm/ftrace, is unchanged. This is because this way it preserves
behaviour, but if you can provide me a tested-by for the simpler variant I can
drop that in.

Patch 15 reworks ftrace's event_create_dir(), which ran module code before the
module was finished loading (before we even applied jump_labels and all that).

Patch 16 and 17 address minor review feedback.

Ingo, Alexei wants patch #1 for some BPF stuff, can he get that in a topic branch?