aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJinliang Zheng <[email protected]>2025-04-15 15:36:58 +0000
committerGreg Kroah-Hartman <[email protected]>2025-04-25 14:01:56 +0000
commitcec59c440a05c241846e8fe9d2575a2dafb56fd9 (patch)
treea7216443f4c042074eac1b9fc98b3141b02a2c06 /rust/helpers/helpers.c
parentdriver core: auxiliary bus: Fix IS_ERR() vs NULL mixup in __devm_auxiliary_de... (diff)
downloadkernel-cec59c440a05c241846e8fe9d2575a2dafb56fd9.tar.gz
kernel-cec59c440a05c241846e8fe9d2575a2dafb56fd9.zip
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 <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions