mbox series

[0/4] Followups to controllers' v1 compilation

Message ID 20240909163223.3693529-1-mkoutny@suse.com (mailing list archive)
Headers show
Series Followups to controllers' v1 compilation | expand

Message

Michal Koutný Sept. 9, 2024, 4:32 p.m. UTC
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