lkml.org 
[lkml]   [2019]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/6] Static calls
On Fri, Jan 11, 2019 at 01:10:47PM -0800, Linus Torvalds wrote:
> 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?

Not at the moment, but Daniel has been working on some patches to do so:

https://lkml.kernel.org/r/cover.1545228276.git.bristot@redhat.com

--
Josh

\
 
 \ /
  Last update: 2019-01-11 22:32    [W:0.070 / U:2.052 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site