[PATCH v2 09/11] static_call: Make NULL static calls consistent

Peter Zijlstra peterz at infradead.org
Wed Mar 22 07:45:45 PDT 2023


On Tue, Mar 21, 2023 at 09:00:15PM -0700, Josh Poimboeuf wrote:
> + *   or using static_call_update() with a NULL function pointer. In both cases
> + *   the HAVE_STATIC_CALL implementation will patch the trampoline with a RET
> +*    instruction, instead of an immediate tail-call JMP. HAVE_STATIC_CALL_INLINE
> +*    architectures can patch the trampoline call to a NOP.
>   *
>   *   In all cases, any argument evaluation is unconditional. Unlike a regular
>   *   conditional function pointer call:

you wrecked the indent there ;-)



More information about the linux-arm-kernel mailing list