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:
parent
f19bb8321a
commit
08d98b2e38
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue