diff --git a/nixos/modules/system/boot/tmp.nix b/nixos/modules/system/boot/tmp.nix index f927ba1c9c90..c8286979ff41 100644 --- a/nixos/modules/system/boot/tmp.nix +++ b/nixos/modules/system/boot/tmp.nix @@ -41,10 +41,10 @@ in default = "never"; example = "within_size"; description = '' - never - Do not allocate huge memory pages. This is the default. - always - Attempt to allocate huge memory page every time a new page is needed. - within_size - Only allocate huge memory pages if it will be fully within i_size. Also respect madvise(2) hints. Recommended. - advise - Only allocate huge memory pages if requested with madvise(2). + - `never` - Do not allocate huge memory pages. This is the default. + - `always` - Attempt to allocate huge memory page every time a new page is needed. + - `within_size` - Only allocate huge memory pages if it will be fully within i_size. Also respect madvise(2) hints. Recommended. + - `advise` - Only allocate huge memory pages if requested with madvise(2). ''; };