lists.openwall.net   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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210525161655.bd9f91e9c29758142eb955e2@linux-foundation.org>
Date:   Tue, 25 May 2021 16:16:55 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Vlastimil Babka <vbabka@...e.cz>
Cc:     Yejune Deng <yejune.deng@...il.com>, cl@...ux.com,
        penberg@...nel.org, rientjes@...gle.com, iamjoonsoo.kim@....com,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        Thomas Gleixner <tglx@...utronix.de>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, Yejune Deng <yejunedeng@...il.com>
Subject: Re: [PATCH 2/2] mm: slub: use DEFINE_RAW_SPINLOCK init
 object_map_lock

On Tue, 25 May 2021 12:46:35 +0200 Vlastimil Babka <vbabka@...e.cz> wrote:

> On 5/25/21 12:23 PM, Yejune Deng wrote:
> > Use DEFINE_RAW_SPINLOCK instead of DEFINE_SPINLOCK object_map_lock
> > that won't be preempted on mainline and PREEMPT_RT kernels.
> > 
> > Signed-off-by: Yejune Deng <yejunedeng@...il.com>
> 
> RT tree also has such patch, with IMHO more thorough description:

Yes please, a more thorough decription is needed.  The description
provided with this patch could be applied to every spinlock in the
kernel!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ