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 missprint, add rcu 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/ve.h | 1 + kernel/ve/ve.c | 45 +++++++++++++++++++++++- net/core/netprio_cgroup.c | 74 +++++++++++++++++++++++++++++++++++++-- 3 files changed, 117 insertions(+), 3 deletions(-) -- 2.31.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
