Skip to content

RFC mm: memcg: deprecate cgroup v1 non-hierarchical mode

Roman Gushchin linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: memcg: deprecate the non-hierarchical modeinclude/linux/memcontrol.h kernel/cgroup/cgroup.c mm/memcontrol.c+13 -893 replies
2/3docs: cgroup-v1: reflect the deprecation of the non-hierarchical modeDocumentation/admin-guide/cgroup-v1/memcg_test.rst Documentation/admin-guide/cgroup-v1/memory.rst+16 -322 replies
3/3cgroup: remove obsoleted broken_hierarchy and warned_broken_hierarchyinclude/linux/cgroup-defs.h kernel/cgroup/cgroup.c+0 -221 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal HockoShakeel ButtDavid Rientjes
SeriesA-b
1/3A-b R-b
2/3A-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH rfc 0/3] mm: memcg: deprecate cgroup v1 non-hierarchical mode

The non-hierarchical cgroup v1 mode is a legacy of early days of the memory controller and doesn't bring any value today. However, it complicates the code and creates many edge cases all over the memory controller code.

It's a good time to deprecate it completely. This patchset removes the internal logic, adjusts the user interface and updates the documentation. The alt patch removes some bits of the cgroup core code, which become obsolete.

Roman Gushchin (3):
mm: memcg: deprecate the non-hierarchical mode
docs: cgroup-v1: reflect the deprecation of the non-hierarchical mode
cgroup: remove obsoleted broken_hierarchy and warned_broken_hierarchy

 .../admin-guide/cgroup-v1/memcg_test.rst      |  8 +-
 .../admin-guide/cgroup-v1/memory.rst          | 40 +++------
 include/linux/cgroup-defs.h                   | 15 ----
 include/linux/memcontrol.h                    |  7 --
 kernel/cgroup/cgroup.c                        | 12 ---
 mm/memcontrol.c                               | 90 +++----------------
 6 files changed, 29 insertions(+), 143 deletions(-)
Signature · 1 line
2.26.2