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

- Subsystems: DOCUMENTATION, THE REST
- Maintainers: Jonathan Corbet, Linus Torvalds
- Status: LANDED (544ef682c604 · 2021-05-27 16:11)
- Landed in mainline as 544ef682c604 on 2021-05-27.
- List: linuxppc-dev
- 3 messages, 3 authors
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/1388971/t

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

- From: Barry Song \<hidden\>
- Date: 2021-05-24 05:24:53 
- Message: https://ratatoskr.run/linuxppc-dev/2021/05/1388971.md

```text
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 <redacted>
---
 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

```

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

- From: Jonathan Corbet \<corbet@lwn.net\>
- Date: 2021-05-27 16:11:57 
- Message: https://ratatoskr.run/linuxppc-dev/2021/05/1394278.md

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

Applied, thanks.

jon
```

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

- From: Palmer Dabbelt \<palmer@dabbelt.com\>
- Date: 2021-05-29 22:57:50 
- Message: https://ratatoskr.run/linuxppc-dev/2021/05/1395896.md

```text
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 <redacted>
> ---
>  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 <redacted>

Thanks!
```
