<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">Please drop.<br><br><div data-smartmail="gmail_signature">Best regards, Tikhomirov Pavel<br>Software Developer, Virtuozzo.</div></div><div class="gmail_extra"><br><div class="gmail_quote">17 авг. 2021 г. 17:53 пользователь Pavel Tikhomirov <ptikhomirov@virtuozzo.com> написал:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I've also added get_curr_ve() helper as it looks like in many places we
<br>
rely that get_exec_env() gives us ve which would not free under us, but
<br>
all processes can be moved easily from this ve in parallel and ve can be
<br>
freed AFAICS.
<br>
<br>
We would need same for vz8.
<br>
<br>
https://jira.sw.ru/browse/PSBM-123766
<br>
<br>
---
<br>
v2: fix export missprint, add rcu
<br>
<br>
Pavel Tikhomirov (3):
<br>
ve: add get_curr_ve helper
<br>
ve: get_curr_ve: first try getting ve with rcu lock
<br>
cgroup/net_prio: virtualize ifpriomap per-ve
<br>
<br>
include/linux/ve.h | 1 +
<br>
kernel/ve/ve.c | 45 +++++++++++++++++++++++-
<br>
net/core/netprio_cgroup.c | 74 +++++++++++++++++++++++++++++++++++++--
<br>
3 files changed, 117 insertions(+), 3 deletions(-)
<br>
<br>
--
<br>
2.31.1
<br>
<br>
</p>
</blockquote></div><br></div>