Second part of changes for enabling cgroup-v2:
- Enable cgroup-v2 files
- Hide cgroup files per controller
- Move ve cgroup attach operations to namespace join path
- Allow nested ve cgroup in cgroup-v2

https://virtuozzo.atlassian.net/browse/VSTOR-119803
https://virtuozzo.atlassian.net/browse/VSTOR-119804
https://virtuozzo.atlassian.net/browse/VSTOR-119941
https://virtuozzo.atlassian.net/browse/VSTOR-104639

Signed-off-by: Pavel Tikhomirov <[email protected]>

Pavel Tikhomirov (9):
  cgroup-v2: Add a new API to hide cgroup files per controller
  ve: Enable files on cgroup-v2
  ve/cgroup-v2: Allow writing to some files in the root of cgroup
    namespace
  ve_namespace: Don't allow to share thread group across VE boundaries
  ve_namespace: Move cgroup ve_attach() operations to namespace join
    path
  ve_namespace: Block setns untill VE is running
  ve: Always allow to attach to ve cgroup
  ve/cgroup-v2: Allow nested ve cgroup directories
  ve/cgroup-v2: Don't hide default cgroup when ve controller is enabled
    on it

 fs/sysfs/ve.c               |   2 +-
 include/linux/cgroup-defs.h |   1 +
 include/linux/cgroup.h      |   1 +
 include/linux/ve.h          |   4 ++
 kernel/cgroup/cgroup.c      | 136 +++++++++++++++++++++++++++++++++++-
 kernel/fork.c               |   8 +++
 kernel/ve/ve.c              | 131 ++++++++--------------------------
 kernel/ve/ve_namespace.c    |  12 ++++
 8 files changed, 190 insertions(+), 105 deletions(-)

-- 
2.52.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to