Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 11 Jan 2019 13:10:47 -0800 | Subject | Re: [PATCH v3 0/6] Static calls |
| |
On Fri, Jan 11, 2019 at 1:05 PM Andy Lutomirski <luto@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
| |