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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 23 Oct 2021 18:04:57 +0200
From:   Arnd Bergmann <>
To:     Waiman Long <>
Cc:     Peter Zijlstra <>,
        Ingo Molnar <>, Will Deacon <>,
        Arnd Bergmann <>,
        Boqun Feng <>,
        Jonas Bonn <>,
        Stefan Kristiansson <>,
        Stafford Horne <>,
        "James E.J. Bottomley" <>,
        Helge Deller <>,
        Michael Ellerman <>,
        Benjamin Herrenschmidt <>,
        Paul Mackerras <>,
        Heiko Carstens <>,
        Vasily Gorbik <>,
        Christian Borntraeger <>,
        Alexander Gordeev <>,
        Linux Kernel Mailing List <>,,
        Openrisc <>,
        Parisc List <>,
        linuxppc-dev <>,
        linux-s390 <>
Subject: Re: [PATCH] locking: remove spin_lock_flags() etc

On Sat, Oct 23, 2021 at 3:37 AM Waiman Long <> wrote:
>> On 10/22/21 7:59 AM, Arnd Bergmann wrote:
> > From: Arnd Bergmann <>
> >
> > As this is all dead code, just remove it and the helper functions built
> > around it. For arch/ia64, the inline asm could be cleaned up, but
> > it seems safer to leave it untouched.
> >
> > Signed-off-by: Arnd Bergmann <>
> Does that mean we can also remove the GENERIC_LOCKBREAK config option
> from the Kconfig files as well?

 I couldn't figure this out.

What I see is that the only architectures setting GENERIC_LOCKBREAK are
nds32, parisc, powerpc, s390, sh and sparc64, while the only architectures
implementing arch_spin_is_contended() are arm32, csky and ia64.

The part I don't understand is whether the option actually does anything
useful any more after commit d89c70356acf ("locking/core: Remove break_lock


Powered by blists - more mailing lists