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

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Wed Aug 18 14:00:02 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 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



More information about the Devel mailing list