Commit 48642c0
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-198731 parent c608c63 commit 48642c0
2 files changed
+166
-75
lines changed
0 commit comments