On Fri, Jan 11, 2019 at 1:05 PM Andy Lutomirski <l...@kernel.org> wrote:
>
> > Yeah, my suggestion doesn't allow for batching, since it would
> > basically generate one trampoline for every rewritten instruction.
>
> Sure it does.  Just make 1000 trampolines and patch 1000 sites in a
> batch :)  As long as the number of trampolines is smallish (e.g. fits
> in a page), then we should be in good shape.

Yeah, I guess that's true.

But let's not worry about it. I don't think we do batching for any
alternative instruction rewriting right now, do we?

             Linus

Reply via email to