2013-03-04 01:12:42

by Paul Mundt

[permalink] [raw]
Subject: [PATCH] metag: Inhibit NUMA balancing.

The metag NUMA implementation follows the SH model, using different nodes for
memories with different latencies. As such, we ensure that automated balancing
between nodes is inhibited, by way of the new ARCH_WANT_VARIABLE_LOCALITY.

Signed-off-by: Paul Mundt <[email protected]>

---

diff --git a/arch/metag/mm/Kconfig b/arch/metag/mm/Kconfig
index cd7f2f2..975f2f4 100644
--- a/arch/metag/mm/Kconfig
+++ b/arch/metag/mm/Kconfig
@@ -40,6 +40,7 @@ endchoice

config NUMA
bool "Non Uniform Memory Access (NUMA) Support"
+ select ARCH_WANT_NUMA_VARIABLE_LOCALITY
help
Some Meta systems have MMU-mappable on-chip memories with
lower latencies than main memory. This enables support for


2013-03-07 11:56:12

by James Hogan

[permalink] [raw]
Subject: Re: [PATCH] metag: Inhibit NUMA balancing.

On 04/03/13 01:12, Paul Mundt wrote:
> The metag NUMA implementation follows the SH model, using different nodes for
> memories with different latencies. As such, we ensure that automated balancing
> between nodes is inhibited, by way of the new ARCH_WANT_VARIABLE_LOCALITY.
>
> Signed-off-by: Paul Mundt <[email protected]>

Thanks Paul, Applied.

Cheers
James