Closed ailispaw closed 6 years ago
Reimplement the disabling of the memory cgroup by pelwell · Pull Request #2201 · raspberrypi/linux https://github.com/raspberrypi/linux/pull/2201/files
https://github.com/raspberrypi/linux/issues/1950#issuecomment-347481182
After some feedback and a rethink I've reworked this code as two new patches. The first makes cgroup_enable=memory work as expected, and the second adds the cgroup_memory= flag as a backwards compatibility patch which may be dropped for 4.14.
cgroup: Fix automatic disabling of cgroup "memory" · raspberrypi/linux@9066809
cgroup: Retain support for cgroup_memory=1 · raspberrypi/linux@a57f17a
config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cos… · raspberrypi/linux@f256603
As the results,
cgroup_enable=cpuset cgroup_memory=1
should be
cgroup_enable=cpuset,memory
Revert "cgroup: Add kernel param to enable memory group" · raspberrypi/linux@b1c6f0b