I've also added get_curr_ve() helper as it looks like in many places we rely that get_exec_env() gives us ve which would not free under us, but all processes can be moved easily from this ve in parallel and ve can be freed AFAICS.
We would need same for vz8. https://jira.sw.ru/browse/PSBM-123766 --- v2: fix export misprint, add rcu v3: fix compilation of get_curr_ve part Pavel Tikhomirov (3): ve: add get_curr_ve helper ve: get_curr_ve: first try getting ve with rcu lock cgroup/net_prio: virtualize ifpriomap per-ve include/linux/cgroup.h | 1 + kernel/cgroup.c | 42 ++++++++++++++++++++++ kernel/ve/ve.c | 2 +- net/core/netprio_cgroup.c | 73 +++++++++++++++++++++++++++++++++++++-- 4 files changed, 115 insertions(+), 3 deletions(-) -- 2.31.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
