[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28eb9747-e4cc-424c-1f16-c68ed165b36a@infradead.org>
Date: Tue, 15 Sep 2020 23:18:52 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: sathnaga@...ux.vnet.ibm.com, linux-doc@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kvm-ppc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel
param
On 9/15/20 11:11 PM, sathnaga@...ux.vnet.ibm.com wrote:
> From: Satheesh Rajendran <sathnaga@...ux.vnet.ibm.com>
>
> Add document entry for kvm_cma_resv_ratio kernel param which
> is used to alter the KVM contiguous memory allocation percentage
> for hash pagetable allocation used by hash mode PowerPC KVM guests.
>
> Cc: linux-kernel@...r.kernel.org
> Cc: kvm-ppc@...r.kernel.org
> Cc: linuxppc-dev@...ts.ozlabs.org
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Cc: Jonathan Corbet <corbet@....net>
> Signed-off-by: Satheesh Rajendran <sathnaga@...ux.vnet.ibm.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index a1068742a6df..9cb126573c71 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -599,6 +599,15 @@
> altogether. For more information, see
> include/linux/dma-contiguous.h
>
> + kvm_cma_resv_ratio=n
> + [PPC]
You can put [PPC] on the line above.
> + Reserves given percentage from system memory area for
> + contiguous memory allocation for KVM hash pagetable
> + allocation.
> + Bydefault it reserves 5% of total system memory.
By default
> + Format: <integer>
> + Default: 5
> +
and please use tabs for indentation, not all spaces.
> cmo_free_hint= [PPC] Format: { yes | no }
> Specify whether pages are marked as being inactive
> when they are freed. This is used in CMO environments
>
Entries in kernel-parameters.txt should be sorted into dictionary order,
so please put that with the other kvm parameters.
thanks.
--
~Randy
Powered by blists - more mailing lists