Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernfs: Replace per-fs global rwsem with per-fs hashed rwsem.
Having a single rwsem to synchronize all operations across a kernfs based file system (cgroup, sysfs etc.) does not scale well. Replace it with a hashed rwsem to reduce contention around single per-fs rwsem. Also introduce a perfs rwsem to protect per-fs list of kernfs_super_info. Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
- Loading branch information