From: Yu Kuai <yukuai1@huaweicloud.com>
To: "Zhou, Yun" <yun.zhou@windriver.com>,
Yu Kuai <yukuai1@huaweicloud.com>,
Paul Menzel <pmenzel@molgen.mpg.de>
Cc: agk@redhat.com, snitzer@kernel.org, mpatocka@redhat.com,
song@kernel.org, dm-devel@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org,
"yukuai (C)" <yukuai3@huawei.com>
Subject: Re: [PATCH] md: fix rcu protection in md_wakeup_thread
Date: Wed, 15 Oct 2025 15:57:50 +0800 [thread overview]
Message-ID: <e60b45da-e37d-5530-1511-f6e56effebb2@huaweicloud.com> (raw)
In-Reply-To: <040131e6-08f7-4f64-a317-deaa21e1a5e1@windriver.com>
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
next prev parent reply other threads:[~2025-10-15 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 5:59 Yun Zhou
2025-10-15 6:35 ` Paul Menzel
2025-10-15 6:58 ` Yu Kuai
2025-10-15 7:31 ` Zhou, Yun
2025-10-15 7:57 ` Yu Kuai [this message]
2025-10-15 8:19 ` Zhou, Yun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e60b45da-e37d-5530-1511-f6e56effebb2@huaweicloud.com \
--to=yukuai1@huaweicloud.com \
--cc=agk@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=pmenzel@molgen.mpg.de \
--cc=snitzer@kernel.org \
--cc=song@kernel.org \
--cc=yukuai3@huawei.com \
--cc=yun.zhou@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®