Subject: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures

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 <[email protected]>
---
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


2021-05-27 18:16:09

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures

Barry Song <[email protected]> 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 <[email protected]>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 3 +++
> 1 file changed, 3 insertions(+)

Applied, thanks.

jon

2021-05-29 22:54:51

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures

On Sun, 23 May 2021 22:17:15 PDT (-0700), [email protected] 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 <[email protected]>
> ---
> 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 <[email protected]>

Thanks!