* [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 6:11 ` sathnaga
0 siblings, 0 replies; 9+ messages in thread
From: sathnaga @ 2020-09-16 6:11 UTC (permalink / raw)
To: linux-doc
Cc: Satheesh Rajendran, linux-kernel, kvm-ppc, linuxppc-dev,
Paul Mackerras, Michael Ellerman, Jonathan Corbet
From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
Cc: kvm-ppc@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Satheesh Rajendran <sathnaga@linux.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]
+ Reserves given percentage from system memory area for
+ contiguous memory allocation for KVM hash pagetable
+ allocation.
+ Bydefault it reserves 5% of total system memory.
+ Format: <integer>
+ Default: 5
+
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
--
2.26.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 6:11 ` sathnaga
0 siblings, 0 replies; 9+ messages in thread
From: sathnaga @ 2020-09-16 6:11 UTC (permalink / raw)
To: linux-doc
Cc: Jonathan Corbet, linux-kernel, kvm-ppc, Paul Mackerras,
Satheesh Rajendran, linuxppc-dev
From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
Cc: kvm-ppc@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Satheesh Rajendran <sathnaga@linux.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]
+ Reserves given percentage from system memory area for
+ contiguous memory allocation for KVM hash pagetable
+ allocation.
+ Bydefault it reserves 5% of total system memory.
+ Format: <integer>
+ Default: 5
+
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
--
2.26.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
2020-09-16 6:11 ` sathnaga
(?)
@ 2020-09-16 6:18 ` Randy Dunlap
-1 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-09-16 6:18 UTC (permalink / raw)
To: sathnaga, linux-doc
Cc: linux-kernel, kvm-ppc, linuxppc-dev, Paul Mackerras,
Michael Ellerman, Jonathan Corbet
On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> Cc: kvm-ppc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Satheesh Rajendran <sathnaga@linux.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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 6:18 ` Randy Dunlap
0 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-09-16 6:18 UTC (permalink / raw)
To: sathnaga, linux-doc
Cc: Jonathan Corbet, linux-kernel, kvm-ppc, Paul Mackerras, linuxppc-dev
On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> Cc: kvm-ppc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Satheesh Rajendran <sathnaga@linux.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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 6:18 ` Randy Dunlap
0 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2020-09-16 6:18 UTC (permalink / raw)
To: sathnaga, linux-doc
Cc: linux-kernel, kvm-ppc, linuxppc-dev, Paul Mackerras,
Michael Ellerman, Jonathan Corbet
On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> Cc: kvm-ppc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Satheesh Rajendran <sathnaga@linux.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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 6:11 ` sathnaga
0 siblings, 0 replies; 9+ messages in thread
From: sathnaga @ 2020-09-16 6:23 UTC (permalink / raw)
To: linux-doc
Cc: Satheesh Rajendran, linux-kernel, kvm-ppc, linuxppc-dev,
Paul Mackerras, Michael Ellerman, Jonathan Corbet
From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
Cc: kvm-ppc@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Satheesh Rajendran <sathnaga@linux.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]
+ Reserves given percentage from system memory area for
+ contiguous memory allocation for KVM hash pagetable
+ allocation.
+ Bydefault it reserves 5% of total system memory.
+ Format: <integer>
+ Default: 5
+
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
--
2.26.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
2020-09-16 6:18 ` Randy Dunlap
(?)
@ 2020-09-16 8:01 ` Satheesh Rajendran
-1 siblings, 0 replies; 9+ messages in thread
From: Satheesh Rajendran @ 2020-09-16 8:01 UTC (permalink / raw)
To: Randy Dunlap
Cc: sathnaga, linux-doc, Jonathan Corbet, linux-kernel, kvm-ppc,
Paul Mackerras, linuxppc-dev
Hi Randy,
Thanks for the comments, will send a V2 fixing them.
On Tue, Sep 15, 2020 at 11:18:52PM -0700, Randy Dunlap wrote:
> On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> > From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> > Cc: kvm-ppc@vger.kernel.org
> > Cc: linuxppc-dev@lists.ozlabs.org
> > Cc: Paul Mackerras <paulus@samba.org>
> > Cc: Michael Ellerman <mpe@ellerman.id.au>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Signed-off-by: Satheesh Rajendran <sathnaga@linux.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.
>
sure
> > + 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.
>
sure
> > 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.
>
sure.
> thanks.
> --
> ~Randy
>
Thanks!
-Satheesh.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 8:01 ` Satheesh Rajendran
0 siblings, 0 replies; 9+ messages in thread
From: Satheesh Rajendran @ 2020-09-16 8:01 UTC (permalink / raw)
To: Randy Dunlap
Cc: Jonathan Corbet, linux-doc, linux-kernel, kvm-ppc,
Paul Mackerras, sathnaga, linuxppc-dev
Hi Randy,
Thanks for the comments, will send a V2 fixing them.
On Tue, Sep 15, 2020 at 11:18:52PM -0700, Randy Dunlap wrote:
> On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> > From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> > Cc: kvm-ppc@vger.kernel.org
> > Cc: linuxppc-dev@lists.ozlabs.org
> > Cc: Paul Mackerras <paulus@samba.org>
> > Cc: Michael Ellerman <mpe@ellerman.id.au>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Signed-off-by: Satheesh Rajendran <sathnaga@linux.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.
>
sure
> > + 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.
>
sure
> > 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.
>
sure.
> thanks.
> --
> ~Randy
>
Thanks!
-Satheesh.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-16 8:01 ` Satheesh Rajendran
0 siblings, 0 replies; 9+ messages in thread
From: Satheesh Rajendran @ 2020-09-16 8:13 UTC (permalink / raw)
To: Randy Dunlap
Cc: sathnaga, linux-doc, Jonathan Corbet, linux-kernel, kvm-ppc,
Paul Mackerras, linuxppc-dev
Hi Randy,
Thanks for the comments, will send a V2 fixing them.
On Tue, Sep 15, 2020 at 11:18:52PM -0700, Randy Dunlap wrote:
> On 9/15/20 11:11 PM, sathnaga@linux.vnet.ibm.com wrote:
> > From: Satheesh Rajendran <sathnaga@linux.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@vger.kernel.org
> > Cc: kvm-ppc@vger.kernel.org
> > Cc: linuxppc-dev@lists.ozlabs.org
> > Cc: Paul Mackerras <paulus@samba.org>
> > Cc: Michael Ellerman <mpe@ellerman.id.au>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Signed-off-by: Satheesh Rajendran <sathnaga@linux.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.
>
sure
> > + 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.
>
sure
> > 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.
>
sure.
> thanks.
> --
> ~Randy
>
Thanks!
-Satheesh.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-09-16 8:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 6:11 [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param sathnaga
2020-09-16 6:23 ` sathnaga
2020-09-16 6:11 ` sathnaga
2020-09-16 6:18 ` Randy Dunlap
2020-09-16 6:18 ` Randy Dunlap
2020-09-16 6:18 ` Randy Dunlap
2020-09-16 8:01 ` Satheesh Rajendran
2020-09-16 8:13 ` Satheesh Rajendran
2020-09-16 8:01 ` Satheesh Rajendran
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.