[Devel] [PATCH RH7 v2 0/3] ifpriomap virtualization

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Aug 17 17:53:29 MSK 2021


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



More information about the Devel mailing list