Revert "cgroup: Disable cgroup "memory" by default"
authorDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 10 Feb 2022 10:33:23 +0000 (19:33 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 08:46:18 +0000 (17:46 +0900)
commit279bb88972b15a296692f983911e116770e42566
tree6818e58510a4eff7227b5be43fc336f8aed4e22a
parentc56898e47749393eb1cf3b90417aaf5fa2dc3ce3
Revert "cgroup: Disable cgroup "memory" by default"

This reverts commit 2b13c54592135b6fab269517ed687fa9f80bf8e5.

The feature is used for saving memory which is consumed by memcg-related
structure (32bytes per 4K page), but now it is no longer merged on the
latest raspberry pi kernel. So instead of enabling memory cgroup by
adding command to cmdline.txt while preserving this feature, in order to
enable memory cgroup by default, this reverts commit '2b13c5459213
("cgroup: Disable cgroup "memory" by default")'

Change-Id: I1830129125fb44b36bfe64f97fddf329ea795c3c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
kernel/cgroup/cgroup.c