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>
Mon, 6 Jul 2020 09:09:48 +0000 (18:09 +0900)
commite62449b4ffb1bd8f8c9bf1fbb3835fdd968d6c75
treea4b240087d6f33692dfb02fe2e0e09e71b4bf66a
parent1e633ab57e24e8a8334b2ddd529ca8c7a6d3ac8a
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