lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 18 Mar 2021 13:46:38 +0100
From:   Vlastimil Babka <>
To:     Kees Cook <>,
        Thomas Gleixner <>
Cc:     Alexander Potapenko <>,
        Elena Reshetova <>,,
        Andy Lutomirski <>,
        Peter Zijlstra <>,
        Catalin Marinas <>,
        Will Deacon <>,
        Mark Rutland <>,
        Alexander Popov <>,
        Ard Biesheuvel <>,
        Jann Horn <>,
        David Hildenbrand <>,
        Mike Rapoport <>,
        Andrew Morton <>,
        Jonathan Corbet <>,
        Randy Dunlap <>,,,,,
Subject: Re: [PATCH v6 2/6] init_on_alloc: Optimize static branches

On 3/15/21 7:02 PM, Kees Cook wrote:
> The state of CONFIG_INIT_ON_ALLOC_DEFAULT_ON (and ...ON_FREE...) did not
> change the assembly ordering of the static branches: they were always out
> of line. Use the new jump_label macros to check the CONFIG settings to
> default to the "expected" state, which slightly optimizes the resulting
> assembly code.
> Reviewed-by: Alexander Potapenko <>
> Link:
> Signed-off-by: Kees Cook <>

For the fixed version

Acked-by: Vlastimil Babka <>

Powered by blists - more mailing lists