Skip to content

Commit

Permalink
kernfs: Replace per-fs global rwsem with per-fs hashed rwsem.
Browse files Browse the repository at this point in the history
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
imran-kn authored and intel-lab-lkp committed Feb 2, 2022
1 parent d62c7bf commit e194629
Show file tree
Hide file tree
Showing 7 changed files with 325 additions and 102 deletions.

0 comments on commit e194629

Please sign in to comment.