Revert "cgroup: Disable cgroup "memory" by default" 79/270879/1 accepted/tizen/unified/20220214.130941 submit/tizen/20220210.111655 submit/tizen/20220211.080709 submit/tizen/20220214.011104 submit/tizen/20220214.055223
authorDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 10 Feb 2022 10:33:23 +0000 (19:33 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 Feb 2022 10:35:18 +0000 (19:35 +0900)
commitadd4aaad701fa1df51dab0ccf70d669d16d16b38
tree2565127129347cb89fad90ee3b87112cc2f0da7f
parent5d79c163177419f0be2b0c9d6c644df39038f4c0
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