cgroup: Add kernel param to enable memory group
authorPhil Elwell <phil@raspberrypi.org>
Mon, 18 Sep 2017 11:01:46 +0000 (12:01 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:39:14 +0000 (17:39 +0000)
commitaa6d5e3bf772792497328b89c2959a5a2ca9f770
treea79dcebee84df09e57886519f6bba68dbe4ed563
parent0d035cf08b89b9664fc2262bb80086b20e04c3bc
cgroup: Add kernel param to enable memory group

cgroup support is useful, but enabling the "memory" cgroup has a 32-byte
overhead per page. Arrange that "memory" cgroup is disabled by default
unless the "cgroup_memory" parameter is set to a true value.

See: https://github.com/raspberrypi/issues/1950

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
kernel/cgroup.c