nixos/kernel: Enable transparent hugepages for tmpfs
This commit is contained in:
parent
9f67b81388
commit
d6e14f8500
1 changed files with 3 additions and 2 deletions
|
@ -141,5 +141,6 @@
|
|||
systemd.tmpfiles.rules = [
|
||||
"w- /sys/kernel/mm/transparent_hugepage/enabled - - - - always"
|
||||
"w- /sys/kernel/mm/transparent_hugepage/defrag - - - - defer"
|
||||
"w- /sys/kernel/mm/transparent_hugepage/shmem_enabled - - - - within_size"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue