diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-02-21 16:13:03 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-03-04 11:29:52 +0300 |
| commit | b73ec10a458796bed6d51768d5f26c4660f62ae4 (patch) | |
| tree | 7e7166e2533e1448340bed79836a442f9f5b9be0 /tools/perf/scripts/python | |
| parent | 043bc81efbfc5580ecd9da76118722649205f30a (diff) | |
| download | linux-b73ec10a458796bed6d51768d5f26c4660f62ae4.tar.xz | |
fs: add fastpath for dissolve_on_fput()
Instead of acquiring the namespace semaphore and the mount lock
everytime we close a file with FMODE_NEED_UNMOUNT set add a fastpath
that checks whether we need to at all. Most of the time the caller will
have attached the mount to the filesystem hierarchy and there's nothing
to do.
Link: https://lore.kernel.org/r/20250221-brauner-open_tree-v1-4-dbcfcb98c676@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
