diff options
author | Christian Brauner <brauner@kernel.org> | 2024-12-13 02:03:42 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-01-09 18:58:52 +0300 |
commit | 5dcbd85d35515532c93b337a3f8be54937aeea8a (patch) | |
tree | 2406e976afa4078deee0f5c2b92ca5660927c4b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 144acef3334eb664fae4a2e1e35fdd693fc07d4e (diff) | |
download | linux-5dcbd85d35515532c93b337a3f8be54937aeea8a.tar.xz |
fs: lockless mntns rbtree lookup
Currently we use a read-write lock but for the simple search case we can
make this lockless. Creating a new mount namespace is a rather rare
event compared with querying mounts in a foreign mount namespace. Once
this is picked up by e.g., systemd to list mounts in another mount in
it's isolated services or in containers this will be used a lot so this
seems worthwhile doing.
Link: https://lore.kernel.org/r/20241213-work-mount-rbtree-lockless-v3-3-6e3cdaf9b280@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions