Messages in this thread | | | Date | Tue, 11 Dec 2018 00:57:51 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH v2 0/4] Static calls |
| |
Hi!
> These patches are related to two similar patch sets from Ard and Steve: > > - https://lkml.kernel.org/r/20181005081333.15018-1-ard.biesheuvel@linaro.org > - https://lkml.kernel.org/r/20181006015110.653946300@goodmis.org > > The code is also heavily inspired by the jump label code, as some of the > concepts are very similar. > > There are three separate implementations, depending on what the arch > supports: > > 1) CONFIG_HAVE_STATIC_CALL_INLINE: patched call sites - requires > objtool and a small amount of arch code > > 2) CONFIG_HAVE_STATIC_CALL_OUTLINE: patched trampolines - requires > a small amount of arch code > > 3) If no arch support, fall back to regular function pointers
Well, it would be nice to mention what these patches do :-).
I guess they are expected to make things slightly faster? If so it would be nice to mention benchmarks...
(There are even statistics later in the series, but I guess at least short explanation should be in cover letter).
Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |