aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 12:26:52 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-13 10:36:05 -0500
commitf039e184bc45227553e645fb1c7021d69a5262b4 (patch)
tree4b32435aa956ad5b134d0f021fc2511c5dac3626 /net/core/net_namespace.c
parentnet: Allow pernet_operations to be executed in parallel (diff)
downloadlinux-dev-f039e184bc45227553e645fb1c7021d69a5262b4.tar.xz
linux-dev-f039e184bc45227553e645fb1c7021d69a5262b4.zip
net: Convert proc_net_ns_ops
This patch starts to convert pernet_subsys, registered before initcalls. proc_net_ns_ops::proc_net_ns_init()/proc_net_ns_exit() {un,}register pernet net->proc_net and ->proc_net_stat. Constructors and destructors of another pernet_operations are not interested in foreign net's proc_net and proc_net_stat. Proc filesystem privitives are synchronized on proc_subdir_lock. So, proc_net_ns_ops methods are able to be executed in parallel with methods of any other pernet operations. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions