Re: [PATCH 3/3] powerpc: Update NUMA Kconfig description & help text

2020-11-24 Thread Randy Dunlap
On 11/24/20 4:05 AM, Michael Ellerman wrote:
> Update the NUMA Kconfig description to match other architectures, and
> add some help text. Shamelessly borrowed from x86/arm64.
> 
> Signed-off-by: Michael Ellerman 

Reviewed-by: Randy Dunlap 

Thanks.

> ---
>  arch/powerpc/Kconfig | 8 +++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index 4d688b426353..7f4995b245a3 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -659,9 +659,15 @@ config IRQ_ALL_CPUS
> reported with SMP Power Macintoshes with this option enabled.
>  
>  config NUMA
> - bool "NUMA support"
> + bool "NUMA Memory Allocation and Scheduler Support"
>   depends on PPC64 && SMP
>   default y if PPC_PSERIES || PPC_POWERNV
> + help
> +   Enable NUMA (Non-Uniform Memory Access) support.
> +
> +   The kernel will try to allocate memory used by a CPU on the
> +   local memory controller of the CPU and add some more
> +   NUMA awareness to the kernel.
>  
>  config NODES_SHIFT
>   int
> 


-- 
~Randy



[PATCH 3/3] powerpc: Update NUMA Kconfig description & help text

2020-11-24 Thread Michael Ellerman
Update the NUMA Kconfig description to match other architectures, and
add some help text. Shamelessly borrowed from x86/arm64.

Signed-off-by: Michael Ellerman 
---
 arch/powerpc/Kconfig | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 4d688b426353..7f4995b245a3 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -659,9 +659,15 @@ config IRQ_ALL_CPUS
  reported with SMP Power Macintoshes with this option enabled.
 
 config NUMA
-   bool "NUMA support"
+   bool "NUMA Memory Allocation and Scheduler Support"
depends on PPC64 && SMP
default y if PPC_PSERIES || PPC_POWERNV
+   help
+ Enable NUMA (Non-Uniform Memory Access) support.
+
+ The kernel will try to allocate memory used by a CPU on the
+ local memory controller of the CPU and add some more
+ NUMA awareness to the kernel.
 
 config NODES_SHIFT
int
-- 
2.25.1