Re: [PATCH 3/3] x86/ftrace: Use text_poke()

From: Peter Zijlstra
Date: Fri Oct 11 2019 - 03:01:48 EST


On Fri, Oct 04, 2019 at 10:10:47AM +0200, Daniel Bristot de Oliveira wrote:
> Currently, ftrace_rec entries are ordered inside the group of functions, but
> "groups of function" are not ordered. So, the current int3 handler does a (*):

We can insert a sort() of the vector right before doing
text_poke_bp_batch() of course...