Re: [PATCH v3] powerpc/32: Add support for out-of-line static calls

2021-11-02 Thread Michael Ellerman
On Wed, 1 Sep 2021 08:30:21 + (UTC), Christophe Leroy wrote: > Add support for out-of-line static calls on PPC32. This change > improve performance of calls to global function pointers by > using direct calls instead of indirect calls. > > The trampoline is initialy populated with a 'blr' or

Re: [PATCH v3] powerpc/32: Add support for out-of-line static calls

2021-09-01 Thread Peter Zijlstra
On Wed, Sep 01, 2021 at 08:30:21AM +, Christophe Leroy wrote: > Add support for out-of-line static calls on PPC32. This change > improve performance of calls to global function pointers by > using direct calls instead of indirect calls. > > The trampoline is initialy populated with a 'blr' or

[PATCH v3] powerpc/32: Add support for out-of-line static calls

2021-09-01 Thread Christophe Leroy
Add support for out-of-line static calls on PPC32. This change improve performance of calls to global function pointers by using direct calls instead of indirect calls. The trampoline is initialy populated with a 'blr' or branch to target, followed by an unreachable long jump sequence. In order