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

Peter Zijlstra
2023-03-22T14:48:33Z

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 ;-)