[lkml]   [2019]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/3] Rewrite x86/ftrace to use text_poke()
Hi Peter,

> On Aug 27, 2019, at 11:06 AM, 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.
> The first patch has been posted before and was/is part of my (in-progress)
> static_call and jump_label/jmp8 patch series; but is equally needed here.
> The second patch cleans up the text_poke batching code, and the third converts
> ftrace.

Thanks for the patch. It solves the kernel-text-PMD-split issue.

The only problem I found is, it is not easy to back port these patches to 5.2
based kernel.


Tested-by: Song Liu <>

 \ /
  Last update: 2019-08-28 09:23    [W:0.219 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site