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>
Sat, 31 Mar 2018 14:55:27 +0000 (15:55 +0100)
commit25c12d9ac6bfd3703045b694339a50ba77307e9e
tree456759b28f92e18d50b881ed830ad20ca9c7fb2e
parentf6a4878722d263fa801d3e33b7d30f7c683fd5c2
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