Skip to content

Rewrite x86/ftrace to use text_poke()

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/alternatives: Teach text_poke_bp() to emulate instructionsarch/x86/include/asm/text-patching.h arch/x86/kernel/alternative.c arch/x86/kernel/jump_label.c +1 more+103 -390 replies
2/3x86/alternatives: Move tp_vecarch/x86/include/asm/text-patching.h arch/x86/kernel/alternative.c arch/x86/kernel/jump_label.c+19 -131 reply
3/3x86/ftrace: Use text_poke()arch/x86/include/asm/ftrace.h arch/x86/kernel/ftrace.c arch/x86/kernel/traps.c+51 -5311 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Rewrite x86/ftrace to use text_poke()

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