Skip to content

Commit 48642c0

Browse files
committed
procstat: use array of mutex to lock/unlock subtrees.
Associate a mutex identified by an 8-bit index with the root node and all immediate subdirectories of the root. Add the "nearest active" mutex parameter to the recursive functions item_put_locked() / item_put_children_locked(). Ensure that the appropriate lock is in place before descending a directory but avoid double-locking. Issue: LBM1-19873
1 parent c608c63 commit 48642c0

File tree

2 files changed

+166
-75
lines changed

2 files changed

+166
-75
lines changed

0 commit comments

Comments
 (0)