Thread (12 messages) 12 messages, 3 authors, 2021-03-15

Re: [PATCH v5 1/7] mm: Restore init_on_* static branch defaults

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-03-10 23:56:50
Also in: linux-hardening, linux-mm, lkml, stable

On Tue,  9 Mar 2021 13:42:55 -0800 Kees Cook [off-list ref] 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). The _TRUE/_FALSE defines for CONFIG_INIT_ON_*_DEFAULT_ON
were accidentally removed. These need to stay so that the CONFIG controls
the pessimization of the resulting static branch NOP/JMP locations.
Changelog doesn't really explain why anyone would want to apply this
patch.  This is especially important for -stable patches.

IOW, what is the user visible effect of the bug?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help