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
@ -370,9 +370,12 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
container = {
|
container = {
|
||||||
NAMESPACES = option yes; # Required by 'unshare' used by 'nixos-install'
|
NAMESPACES = yes; # Required by 'unshare' used by 'nixos-install'
|
||||||
RT_GROUP_SCHED = no;
|
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 = yes;
|
||||||
MEMCG_SWAP = yes;
|
MEMCG_SWAP = yes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user