All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param
@ 2020-09-21  9:02 ` sathnaga
  0 siblings, 0 replies; 12+ messages in thread
From: sathnaga @ 2020-09-21  9:02 UTC (permalink / raw)
  To: linux-doc
  Cc: Satheesh Rajendran, linux-kernel, kvm-ppc, linuxppc-dev,
	Paul Mackerras, Michael Ellerman, Jonathan Corbet, Randy Dunlap

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>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
---

V2: 
Addressed review comments from Randy.

V1: https://lkml.org/lkml/2020/9/16/72
---
 Documentation/admin-guide/kernel-parameters.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index a1068742a6df..932ed45740c9 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -2258,6 +2258,14 @@
 			[KVM,ARM] Allow use of GICv4 for direct injection of
 			LPIs.
 
+	kvm_cma_resv_ratio=n [PPC]
+			Reserves given percentage from system memory area for
+			contiguous memory allocation for KVM hash pagetable
+			allocation.
+			By default it reserves 5% of total system memory.
+			Format: <integer>
+			Default: 5
+
 	kvm-intel.ept=	[KVM,Intel] Disable extended page tables
 			(virtualized MMU) support on capable Intel chips.
 			Default is 1 (enabled)
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-09-24 16:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21  9:02 [PATCH V2] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param sathnaga
2020-09-21  9:14 ` sathnaga
2020-09-21  9:02 ` sathnaga
2020-09-21 15:58 ` Randy Dunlap
2020-09-21 15:58   ` Randy Dunlap
2020-09-21 15:58   ` Randy Dunlap
2020-09-21 23:19 ` Paul Mackerras
2020-09-21 23:19   ` Paul Mackerras
2020-09-21 23:19   ` Paul Mackerras
2020-09-24 16:37 ` Jonathan Corbet
2020-09-24 16:37   ` Jonathan Corbet
2020-09-24 16:37   ` Jonathan Corbet

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.