lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] Documentation, mm/unaccepted: document accept_memory kernel parameter
Date
Vlastimil Babka <vbabka@suse.cz> writes:

> 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>
> ---
> changes since v1:
> - use shorter sentences (Tim Chen)
> ---
> Documentation/admin-guide/kernel-parameters.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 65731b060e3f..91bd74b2e203 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -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.
> +

Applied, thanks.

jon

\
 
 \ /
  Last update: 2023-12-15 17:31    [W:0.052 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site