diff options
author | Jinliang Zheng <alexjlzheng@tencent.com> | 2025-04-15 23:36:58 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 16:01:56 +0200 |
commit | cec59c440a05c241846e8fe9d2575a2dafb56fd9 (patch) | |
tree | a7216443f4c042074eac1b9fc98b3141b02a2c06 /drivers/fpga/tests/fpga-bridge-test.c | |
parent | 2806c6b8f3d1e406f2b7e3266ddd21100fbe7151 (diff) |
kernfs: switch global kernfs_idr_lock to per-fs lock
The kernfs implementation has big lock granularity(kernfs_idr_lock) so
every kernfs-based(e.g., sysfs, cgroup) fs are able to compete the lock.
This patch switches the global kernfs_idr_lock to per-fs lock, which
put the spinlock into kernfs_root.
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20250415153659.14950-2-alexjlzheng@tencent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions