Skip to contentSkip to conversation

Documentation/admin-guide: kernel-parameters: update CMA entries

PATCH Applied Randy Dunlap 3 participants 3 messages Jan 25, 2021 – Jan 28, 2021

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH v2 1/1 Documentation/admin-guide: kernel-parameters: update CMA entries

Add qualifying build option legend [CMA] to kernel boot options that requirce CMA support to be enabled for them to be usable.

Also capitalize 'CMA' when it is used as an acronym.

---
v2: rebase & resend

 Documentation/admin-guide/kernel-parameters.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +4 -4
@@ -631,7 +631,7 @@
 			kernel/dma/contiguous.c
 
 	cma_pernuma=nn[MG]
-			[ARM64,KNL]
+			[ARM64,KNL,CMA]
 			Sets the size of kernel per-numa memory area for
 			contiguous memory allocations. A value of 0 disables
 			per-numa CMA altogether. And If this option is not
@@ -1556,12 +1556,12 @@
 	hpet_mmap=	[X86, HPET_MMAP] Allow userspace to mmap HPET
 			registers.  Default set by CONFIG_HPET_MMAP_DEFAULT.
 
-	hugetlb_cma=	[HW] The size of a cma area used for allocation
+	hugetlb_cma=	[HW,CMA] The size of a CMA area used for allocation
 			of gigantic hugepages.
 			Format: nn[KMGTPE]
 
-			Reserve a cma area of given size and allocate gigantic
-			hugepages using the cma allocator. If enabled, the
+			Reserve a CMA area of given size and allocate gigantic
+			hugepages using the CMA allocator. If enabled, the
 			boot-time allocation of gigantic hugepages is skipped.
 
 	hugepages=	[HW] Number of HugeTLB pages to allocate at boot.
Acked-by on v2 1/1
#1 lore raw
Quoted 11 lines · Randy Dunlap

Add qualifying build option legend [CMA] to kernel boot options that requirce CMA support to be enabled for them to be usable.

Also capitalize 'CMA' when it is used as an acronym.

Quoted 5 lines

---
v2: rebase & resend

 Documentation/admin-guide/kernel-parameters.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Thanks,

Signature · 1 line
Mike Kravetz
Quoted 29 lines
Documentation/admin-guide/kernel-parameters.txt +4 -4
@@ -631,7 +631,7 @@
 			kernel/dma/contiguous.c
 
 	cma_pernuma=nn[MG]
-			[ARM64,KNL]
+			[ARM64,KNL,CMA]
 			Sets the size of kernel per-numa memory area for
 			contiguous memory allocations. A value of 0 disables
 			per-numa CMA altogether. And If this option is not
@@ -1556,12 +1556,12 @@
 	hpet_mmap=	[X86, HPET_MMAP] Allow userspace to mmap HPET
 			registers.  Default set by CONFIG_HPET_MMAP_DEFAULT.
 
-	hugetlb_cma=	[HW] The size of a cma area used for allocation
+	hugetlb_cma=	[HW,CMA] The size of a CMA area used for allocation
 			of gigantic hugepages.
 			Format: nn[KMGTPE]
 
-			Reserve a cma area of given size and allocate gigantic
-			hugepages using the cma allocator. If enabled, the
+			Reserve a CMA area of given size and allocate gigantic
+			hugepages using the CMA allocator. If enabled, the
 			boot-time allocation of gigantic hugepages is skipped.
 
 	hugepages=	[HW] Number of HugeTLB pages to allocate at boot.
maintainer Applied
#2 lore raw
In reply to Randy Dunlap
Quoted 11 lines · On Sun, 24 Jan 2021 20:32:02 -0800 Randy Dunlap <[email protected]> wrote:

Add qualifying build option legend [CMA] to kernel boot options that requirce CMA support to be enabled for them to be usable.

Also capitalize 'CMA' when it is used as an acronym.

Quoted 5 lines

---
v2: rebase & resend

 Documentation/admin-guide/kernel-parameters.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

jon