Re: [PATCH v3 2/6] static_call: Add basic static call infrastructure

2019-01-10 Thread Josh Poimboeuf
On Thu, Jan 10, 2019 at 02:03:20PM +, Edward Cree wrote: > > +#endif /* CONFIG_HAVE_STATIC_CALL_INLINE */ > CONFIG_HAVE_STATIC_CALL? Right, thanks. -- Josh

Re: [PATCH v3 2/6] static_call: Add basic static call infrastructure

2019-01-10 Thread Edward Cree
On 09/01/19 22:59, Josh Poimboeuf wrote: > Static calls are a replacement for global function pointers. They use > code patching to allow direct calls to be used instead of indirect > calls. They give the flexibility of function pointers, but with > improved performance. This is especially impor

[PATCH v3 2/6] static_call: Add basic static call infrastructure

2019-01-09 Thread Josh Poimboeuf
Static calls are a replacement for global function pointers. They use code patching to allow direct calls to be used instead of indirect calls. They give the flexibility of function pointers, but with improved performance. This is especially important for cases where retpolines would otherwise b