Revert "cgroup: Disable cgroup "memory" by default"
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 1 Jul 2020 09:27:33 +0000 (18:27 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:40:01 +0000 (10:40 +0900)
commit95383cb86f881f2dd9860de22df025df739e788e
tree159f32040a8c6d36a379fe71b4f07fbc9a07ee32
parent98b4670a70aa1b1589bd8d816b62c45309aad5bf
Revert "cgroup: Disable cgroup "memory" by default"

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 '35bbb61da9e2
("cgroup: Disable cgroup "memory" by default")'

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