Subject: [PATCH VZ10 00/12] ve: Add VE namespace Main ideas behind VE namespace explained in "ve: Introduce VE namespace".
https://virtuozzo.atlassian.net/browse/VSTOR-118289 Signed-off-by: Pavel Tikhomirov <[email protected]> Pavel Tikhomirov (12): unshare: Fix nsproxy leak on set_cred_ucounts() error path ve: Rename ve_ns to ve_nsproxy ve: Introduce VE namespace ve: Make task_ve pointer ve namespace based ve: Switch from get_curr_ve() to get_exec_env() ve: Switch from current->task_ve to get_exec_env() ve: Add put_ve() cleanup helper ve: Add ve namespace based task_ve() and get_task_ve() helpers ve: Switch from ->task_ve to *task_ve() helpers ve: Switch from task_ve_name() to ve_name() ve: Switch from ->ve_name to ve_name() helper ve: Guard ve from ve_list with ve_list_lock block/ioprio.c | 5 +- drivers/connector/cn_proc.c | 26 ++-- drivers/connector/connector.c | 8 +- drivers/tty/sysrq.c | 2 +- fs/fs_context.c | 2 +- fs/namespace.c | 2 +- fs/nfsd/nfs4recover.c | 4 +- fs/proc/array.c | 5 +- fs/proc/namespaces.c | 3 + include/linux/cgroup.h | 1 - include/linux/init_task.h | 1 + include/linux/nsproxy.h | 2 + include/linux/proc_ns.h | 2 + include/linux/sched.h | 4 +- include/linux/user_namespace.h | 1 + include/linux/ve.h | 31 +++- include/linux/ve_namespace.h | 81 +++++++++++ include/linux/ve_proto.h | 8 -- include/uapi/linux/sched.h | 1 + init/init_task.c | 3 + kernel/cgroup/cgroup-v1.c | 4 +- kernel/cgroup/cgroup.c | 62 ++------ kernel/exit.c | 5 +- kernel/fork.c | 29 +++- kernel/nsproxy.c | 39 ++++- kernel/sched/core.c | 3 +- kernel/sched/stats.c | 4 +- kernel/sys.c | 2 +- kernel/time/itimer.c | 2 +- kernel/ucount.c | 1 + kernel/ve/Makefile | 2 +- kernel/ve/ve.c | 162 +++++++-------------- kernel/ve/ve_namespace.c | 211 ++++++++++++++++++++++++++++ kernel/ve/vecalls.c | 3 + kernel/ve/vzevent.c | 2 +- kernel/ve/vzstat.c | 4 +- lib/dump_stack.c | 2 +- mm/oom_kill.c | 6 +- net/core/dev.c | 4 +- net/core/netprio_cgroup.c | 30 ++-- net/netfilter/nf_conntrack_core.c | 4 +- net/netfilter/nf_conntrack_expect.c | 2 +- 42 files changed, 533 insertions(+), 242 deletions(-) create mode 100644 include/linux/ve_namespace.h create mode 100644 kernel/ve/ve_namespace.c -- 2.51.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
