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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e60b45da-e37d-5530-1511-f6e56effebb2@huaweicloud.com>
Date: Wed, 15 Oct 2025 15:57:50 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: "Zhou, Yun" <yun.zhou@...driver.com>, Yu Kuai <yukuai1@...weicloud.com>,
 Paul Menzel <pmenzel@...gen.mpg.de>
Cc: agk@...hat.com, snitzer@...nel.org, mpatocka@...hat.com, song@...nel.org,
 dm-devel@...ts.linux.dev, linux-kernel@...r.kernel.org,
 linux-raid@...r.kernel.org, "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH] md: fix rcu protection in md_wakeup_thread

Hi,

在 2025/10/15 15:31, Zhou, Yun 写道:
> This method only changes a little code. But it holds the lock before the 
> function jumps, which seems to violate the principle of minimizing the 
> critical area.

use rcu to protect the function is fine, all related code is not from
IO fast path.

Please also notice this patch is impossible for stable backport because
of too much modifications.

Thanks,
Kuai


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ