linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures
@ 2021-05-24  5:17 Barry Song
  2021-05-27 16:11 ` Jonathan Corbet
  2021-05-29 22:45 ` Palmer Dabbelt
  0 siblings, 2 replies; 3+ messages in thread
From: Barry Song @ 2021-05-24  5:17 UTC (permalink / raw)
  To: corbet, linux-doc
  Cc: linux-kernel, linux-riscv, paul.walmsley, palmer, aou, will,
	catalin.marinas, linux-arm-kernel, mpe, benh, paulus,
	linuxppc-dev, Barry Song

risc-v and arm64 support numa=off by common arch_numa_init()
in drivers/base/arch_numa.c. x86, ppc, mips, sparc support it
by arch-level early_param.
numa=off is widely used in linux distributions. it is better
to document it.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
---
 Documentation/admin-guide/kernel-parameters.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index cb89dbdedc46..a388fbdaa2ec 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3513,6 +3513,9 @@
 
 	nr_uarts=	[SERIAL] maximum number of UARTs to be registered.
 
+	numa=off 	[KNL, ARM64, PPC, RISCV, SPARC, X86] Disable NUMA, Only
+			set up a single NUMA node spanning all memory.
+
 	numa_balancing=	[KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic
 			NUMA balancing.
 			Allowed values are enable and disable
-- 
2.25.1


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

* Re: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures
  2021-05-24  5:17 [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures Barry Song
@ 2021-05-27 16:11 ` Jonathan Corbet
  2021-05-29 22:45 ` Palmer Dabbelt
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-05-27 16:11 UTC (permalink / raw)
  To: Barry Song, linux-doc
  Cc: linux-kernel, linux-riscv, paul.walmsley, palmer, aou, will,
	catalin.marinas, linux-arm-kernel, mpe, benh, paulus,
	linuxppc-dev, Barry Song

Barry Song <song.bao.hua@hisilicon.com> writes:

> risc-v and arm64 support numa=off by common arch_numa_init()
> in drivers/base/arch_numa.c. x86, ppc, mips, sparc support it
> by arch-level early_param.
> numa=off is widely used in linux distributions. it is better
> to document it.
>
> Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.

jon

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

* Re: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures
  2021-05-24  5:17 [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures Barry Song
  2021-05-27 16:11 ` Jonathan Corbet
@ 2021-05-29 22:45 ` Palmer Dabbelt
  1 sibling, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2021-05-29 22:45 UTC (permalink / raw)
  To: song.bao.hua
  Cc: corbet, linux-doc, linux-kernel, linux-riscv, Paul Walmsley, aou,
	will, catalin.marinas, linux-arm-kernel, mpe, benh, paulus,
	linuxppc-dev, song.bao.hua

On Sun, 23 May 2021 22:17:15 PDT (-0700), song.bao.hua@hisilicon.com wrote:
> risc-v and arm64 support numa=off by common arch_numa_init()
> in drivers/base/arch_numa.c. x86, ppc, mips, sparc support it
> by arch-level early_param.
> numa=off is widely used in linux distributions. it is better
> to document it.
>
> Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index cb89dbdedc46..a388fbdaa2ec 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -3513,6 +3513,9 @@
>
>  	nr_uarts=	[SERIAL] maximum number of UARTs to be registered.
>
> +	numa=off 	[KNL, ARM64, PPC, RISCV, SPARC, X86] Disable NUMA, Only
> +			set up a single NUMA node spanning all memory.
> +
>  	numa_balancing=	[KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic
>  			NUMA balancing.
>  			Allowed values are enable and disable

Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>

Thanks!

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

end of thread, other threads:[~2021-05-29 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24  5:17 [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures Barry Song
2021-05-27 16:11 ` Jonathan Corbet
2021-05-29 22:45 ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).