diff options
| author | Roman Gushchin <[email protected]> | 2024-06-24 17:59:05 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 18:05:54 -0700 |
| commit | e93d4166b40a84df83c4d5cb4c709d022808ef9b (patch) | |
| tree | 9e7df4bc102dc9f6ff453104c99868247a8a14ef /tools/perf/scripts/python | |
| parent | 6f1173d6845974aeb654a7f070c0c9f21283e1b3 (diff) | |
mm: memcg: put cgroup v1-specific code under a config option
Put legacy cgroup v1 memory controller code under a new CONFIG_MEMCG_V1
config option. The option is turned off by default. Nobody except those
who are still using cgroup v1 should turn it on.
If the option is not set, memory controller can still be mounted under
cgroup v1, but none of memcg-specific control files are present.
Please note, that not all cgroup v1's memory controller code is guarded
yet (but most of it), it's a subject for some follow-up work.
Thanks to Michal Hocko for providing a better Kconfig option description.
[[email protected]: better config option description provided by Michal]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions