Re: [PATCH rfc 0/3] mm: memcg: deprecate cgroup v1 non-hierarchical mode
From: David Rientjes
Date: Wed Nov 04 2020 - 18:10:24 EST
On Tue, 3 Nov 2020, Roman Gushchin wrote:
> 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
>
For all three patches:
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
Very welcome change to see, we've always prevented the non-hierarchical
mode from being set in our kernel.