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: <CAPhsuW6YWnG86fTRcPeeGfk219dG=Rm=LeFde0OEJJjGnqgaZA@mail.gmail.com>
Date: Mon, 29 Jan 2024 22:48:46 -0800
From: Song Liu <song@...nel.org>
To: Li Lingfeng <lilingfeng@...weicloud.com>
Cc: linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org, 
	yukuai3@...wei.com, linan122@...wei.com, yi.zhang@...wei.com, 
	yangerkun@...wei.com, lilingfeng3@...wei.com
Subject: Re: [PATCH] md: get rdev->mddev with READ_ONCE()

On Mon, Jan 29, 2024 at 5:55 AM Li Lingfeng <lilingfeng@...weicloudcom> wrote:
>
> Friendly ping ...
>
> Thanks
>
> 在 2023/12/29 15:05, Li Lingfeng 写道:
> > From: Li Lingfeng <lilingfeng3@...wei.com>
> >
> > Users may get rdev->mddev by sysfs while rdev is releasing.
> > So use both READ_ONCE() and WRITE_ONCE() to prevent load/store tearing
> > and to read/write mddev atomically.
> >
> > Signed-off-by: Li Lingfeng <lilingfeng3@...wei.com>

Sorry for the delay. Applied to md-tmp-6.9 branch.

Thanks,
Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ