enable cgroup memory controller
The current alpine kernel doesn’t support the cgroup memory
The memory controller isolates the memory behavior of a group of tasks from the rest of the system.
Setting this option increases fixed memory overhead associated with each page of memory in the system. To retain the old behavior, the cgroup memory controller should be disabled by default by setting the kernel boot parameter “cgroup_disable=memory”, which will avoid these overheads.
Kernel configuration to enable it:
a. Enable CONFIG_CGROUPS
b. Enable CONFIG_RESOURCE_COUNTERS
c. Enable CONFIG_MEMCG
d. Enable CONFIG_MEMCG_SWAP (to use swap extension)
d. Enable CONFIG_MEMCG_KMEM (to use kmem extension)
(from redmine: issue id 3504, created on 2014-11-11, closed on 2015-05-26)
- duplicates #3702 (closed)
- Revision ea1a2b23 by Natanael Copa on 2015-04-10T08:42:41Z:
main/linux-grsec: enable cgroup memory controller for x86_64 fixes #3504