nixos/kernel: Always defer compaction for transparent hugepages

This commit is contained in:
Mikael 2024-10-11 00:30:49 +02:00
parent 62694d458a
commit dc1de1a343
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -140,6 +140,6 @@
systemd.tmpfiles.rules = [
"w- /sys/kernel/mm/transparent_hugepage/enabled - - - - always"
"w- /sys/kernel/mm/transparent_hugepage/defrag - - - - defer+madvise"
"w- /sys/kernel/mm/transparent_hugepage/defrag - - - - defer"
];
}