Hi Peter, > On Aug 27, 2019, at 11:06 AM, Peter Zijlstra <pet...@infradead.org> 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. Thanks, Song Tested-by: Song Liu <songliubrav...@fb.com>