All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries
@ 2021-01-25  4:32 Randy Dunlap
  2021-01-25 21:59 ` Mike Kravetz
  2021-01-28 22:34 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-01-25  4:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Corbet, linux-doc, linux-mm,
	Andrew Morton, Mike Kravetz

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.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
---
v2: rebase & resend

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

--- linux-next-20210122.orig/Documentation/admin-guide/kernel-parameters.txt
+++ linux-next-20210122/Documentation/admin-guide/kernel-parameters.txt
@@ -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.

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

* Re: [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries
  2021-01-25  4:32 [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries Randy Dunlap
@ 2021-01-25 21:59 ` Mike Kravetz
  2021-01-28 22:34 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Kravetz @ 2021-01-25 21:59 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Jonathan Corbet, linux-doc, linux-mm, Andrew Morton

On 1/24/21 8:32 PM, Randy Dunlap 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.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Mike Kravetz <mike.kravetz@oracle.com>
> ---
> v2: rebase & resend
> 
>  Documentation/admin-guide/kernel-parameters.txt |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Thanks,

Acked-by: Mike Kravetz <mike.kravetz@oracle.com>

-- 
Mike Kravetz

> 
> --- linux-next-20210122.orig/Documentation/admin-guide/kernel-parameters.txt
> +++ linux-next-20210122/Documentation/admin-guide/kernel-parameters.txt
> @@ -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.
> 

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

* Re: [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries
  2021-01-25  4:32 [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries Randy Dunlap
  2021-01-25 21:59 ` Mike Kravetz
@ 2021-01-28 22:34 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-01-28 22:34 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, linux-doc, linux-mm, Andrew Morton, Mike Kravetz

On Sun, 24 Jan 2021 20:32:02 -0800
Randy Dunlap <rdunlap@infradead.org> 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.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Mike Kravetz <mike.kravetz@oracle.com>
> ---
> v2: rebase & resend
> 
>  Documentation/admin-guide/kernel-parameters.txt |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

jon

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

end of thread, other threads:[~2021-01-28 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25  4:32 [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries Randy Dunlap
2021-01-25 21:59 ` Mike Kravetz
2021-01-28 22:34 ` 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.