Subject: Re: [PATCH v2 1/5] jump_label: Provide CONFIG-driven build state defaults

From: Peter Zijlstra <[email-masked]>
Date: Tue, 24 Mar 2020 23:06:41 +0100

On Tue, Mar 24, 2020 at 01:32:27PM -0700, Kees Cook wrote:
> Choosing the initial state of static branches changes the assembly
> layout (if the condition is expected to be likely, inline, or unlikely,
> out of line via a jump). A few places in the kernel use (or could be
> using) a CONFIG to choose the default state, so provide the
> infrastructure to do this and convert the existing cases (init_on_alloc
> and init_on_free) to the new macros.
> 
> Signed-off-by: Kees Cook <[email-masked]>

Cute,

Acked-by: Peter Zijlstra (Intel) <[email-masked]>

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel