On 12/03/2018 03:40 AM, Paolo Abeni wrote:
> This header define a bunch of helpers that allow avoiding the
> retpoline overhead when calling builtin functions via function pointers.
> It boils down to explicitly comparing the function pointers to
> known builtin functions and eventually invoke directly the latter.
> 
> The macros defined here implement the boilerplate for the above schema
> and will be used by the next patches.
> 
> rfc -> v1:
>  - use branch prediction hint, as suggested by Eric
> 
> Suggested-by: Eric Dumazet <Eric Dumazet eduma...@google.com>
> Signed-off-by: Paolo Abeni <pab...@redhat.com>
> ---
>  include/linux/indirect_call_wrapper.h | 77 +++++++++++++++++++++++++++
>  1 file changed, 77 insertions(+)
>  create mode 100644 include/linux/indirect_call_wrapper.h


This needs to be discussed more broadly, please include lkml 

Also please include Paul Turner <p...@google.com>  in the discussion, since he 
was
the inventor of this idea.

Reply via email to