[PATCH 0/4] Followups to controllers' v1 compilation
From: Michal Koutný
Date: Mon Sep 09 2024 - 12:32:51 EST
The group of patches builds upon recent dissection of memory and cpuset
controller v1 code to under a separate configuration option. The goal of
them patches is to produce behavior that appears to v1 controlelr users
same like if the controller wasn't compiled at all (and no change to v2
users).
Plus there are two preceding patches with cleanups I came across when
looking at the new code.
Michal Koutný (4):
memcg: Cleanup with !CONFIG_MEMCG_V1
cgroup/cpuset: Expose cpuset filesystem with cpuset v1 only
cgroup: Disallow mounting v1 hierarchies without controller
implementation
cgroup: Do not report unavailable v1 controllers in /proc/cgroups
kernel/cgroup/cgroup-v1.c | 17 ++++++++++++++---
kernel/cgroup/cgroup.c | 4 ++--
mm/memcontrol-v1.h | 2 --
3 files changed, 16 insertions(+), 7 deletions(-)
base-commit: 8c7e22fc917a0d76794ebf3fcd81f9d91cee4f5d
--
2.46.0