From: Tejun Heo <tj@kernel.org>
To: alexjlzheng@gmail.com
Cc: gregkh@linuxfoundation.org, alexjlzheng@tencent.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH kernfs 2/3] kernfs: switch global kernfs_rename_lock to per-fs lock
Date: Mon, 14 Apr 2025 07:26:14 -1000 [thread overview]
Message-ID: <Z_1FNguGF87GwfSD@slm.duckdns.org> (raw)
In-Reply-To: <20250411183109.6334-3-alexjlzheng@tencent.com>
On Sat, Apr 12, 2025 at 02:31:08AM +0800, alexjlzheng@gmail.com wrote:
> From: Jinliang Zheng <alexjlzheng@tencent.com>
>
> The kernfs implementation has big lock granularity(kernfs_rename_lock) so
> every kernfs-based(e.g., sysfs, cgroup) fs are able to compete the lock.
>
> This patch switches the global kernfs_rename_lock to per-fs lock, which
> put the rwlock into kernfs_root.
>
> Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
next prev parent reply other threads:[~2025-04-14 17:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-11 18:31 [PATCH kernfs 0/3] kernfs: switch global locks to per-fs lock alexjlzheng
2025-04-11 18:31 ` [PATCH kernfs 1/3] kernfs: switch global kernfs_idr_lock " alexjlzheng
2025-04-12 6:12 ` Greg KH
2025-04-12 11:50 ` alexjlzheng
2025-04-13 7:51 ` Greg KH
2025-04-14 3:20 ` Jinliang Zheng
2025-04-15 15:16 ` Greg KH
2025-04-15 15:44 ` Jinliang Zheng
2025-04-14 17:09 ` Tejun Heo
2025-04-15 6:28 ` Jinliang Zheng
2025-04-11 18:31 ` [PATCH kernfs 2/3] kernfs: switch global kernfs_rename_lock " alexjlzheng
2025-04-14 17:26 ` Tejun Heo [this message]
2025-04-11 18:31 ` [PATCH kernfs 3/3] kernfs: switch global kernfs_pr_cont_lock " alexjlzheng
2025-04-14 17:27 ` Tejun Heo
2025-04-15 6:37 ` Jinliang Zheng
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=Z_1FNguGF87GwfSD@slm.duckdns.org \
--to=tj@kernel.org \
--cc=alexjlzheng@gmail.com \
--cc=alexjlzheng@tencent.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).