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>
Wed, 23 Nov 2022 02:23:53 +0000 (11:23 +0900)
commit501b9ceb8a5ad9eb5ad6b480033eae634b013f81
tree7d05ce00273b3b5710e390a80caf23175fcf5e91
parentba8f0872bc058a2e8e2d4f3c26d6081c9273bd39
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