]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: remove obsoleted broken_hierarchy and warned_broken_hierarchy
authorRoman Gushchin <guro@fb.com>
Tue, 15 Dec 2020 03:06:55 +0000 (19:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:40 +0000 (12:13 -0800)
commitac9e7b7da53ec67768ebcd1c3e74286290803a2a
tree8d8199ac52f820885f28a0e76141813a31176a02
parent49d5b454ffb05ad7e38c296b8775563ee8301216
cgroup: remove obsoleted broken_hierarchy and warned_broken_hierarchy

With the deprecation of the non-hierarchical mode of the memory controller
there are no more examples of broken hierarchies left.

Let's remove the cgroup core code which was supposed to print warnings
about creating of broken hierarchies.

Link: https://lkml.kernel.org/r/20201110220800.929549-4-guro@fb.com
Signed-off-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cgroup-defs.h
kernel/cgroup/cgroup.c