linux: enable CGROUP_HUGETLB, CGROUP_PERF, CGROUP_RDMA (#50225)

These options were added in:

NAMESPACES 2.6.25
CGROUP_DEVICE 2.6.26
CGROUP_HUGETLB 3.6
CGROUP_PERF 2.6.39
CGROUP_RDMA 4.11
This commit is contained in:
Orivej Desh 2018-11-13 01:13:00 +00:00 committed by Orivej Desh (NixOS)
parent f19bb8321a
commit 08d98b2e38

View file

@ -370,9 +370,12 @@ let
};
container = {
NAMESPACES = option yes; # Required by 'unshare' used by 'nixos-install'
NAMESPACES = yes; # Required by 'unshare' used by 'nixos-install'
RT_GROUP_SCHED = no;
CGROUP_DEVICE = option yes;
CGROUP_DEVICE = yes;
CGROUP_HUGETLB = yes;
CGROUP_PERF = yes;
CGROUP_RDMA = whenAtLeast "4.11" yes;
MEMCG = yes;
MEMCG_SWAP = yes;