]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
procfs: make freeing proc_fs_info rcu-delayed
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Sep 2023 04:12:00 +0000 (00:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 25 Feb 2024 07:10:32 +0000 (02:10 -0500)
commite31f0a57ae1ab2f6e17adb8e602bc120ad722232
tree7b8fa35282a310a6ead52901ede07fdbabc01723
parent47458802f6606f652cd0f6dc38cd52ce60ec0145
procfs: make freeing proc_fs_info rcu-delayed

makes proc_pid_ns() safe from rcu pathwalk (put_pid_ns()
is still synchronous, but that's not a problem - it does
rcu-delay everything that needs to be)

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/root.c
include/linux/proc_fs.h