Documentation, mm/unaccepted: document accept_memory kernel parameter
authorVlastimil Babka <vbabka@suse.cz>
Thu, 14 Dec 2023 12:22:52 +0000 (13:22 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 15 Dec 2023 16:29:34 +0000 (09:29 -0700)
The accept_memory kernel parameter was added in commit dcdfdd40fa82
("mm: Add support for unaccepted memory") but not listed in the
kernel-parameters doc. Add it there.

Acked-by: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231214-accept_memory_param-v2-1-f38cd20a0247@suse.cz
Documentation/admin-guide/kernel-parameters.txt

index 65731b060e3fef98cb97f03695ca8757ee197700..91bd74b2e203b862a3a6a903ae7e0c8f3abf9d1c 100644 (file)
@@ -1,3 +1,14 @@
+       accept_memory=  [MM]
+                       Format: { eager | lazy }
+                       default: lazy
+                       By default, unaccepted memory is accepted lazily to
+                       avoid prolonged boot times. The lazy option will add
+                       some runtime overhead until all memory is eventually
+                       accepted. In most cases the overhead is negligible.
+                       For some workloads or for debugging purposes
+                       accept_memory=eager can be used to accept all memory
+                       at once during boot.
+
        acpi=           [HW,ACPI,X86,ARM64,RISCV64]
                        Advanced Configuration and Power Interface
                        Format: { force | on | off | strict | noirq | rsdt |