Thread (9 messages) 9 messages, 3 authors, 2021-03-16

Re: [PATCH 2/2] MIPS: loongson64: alloc pglist_data at run time

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-03-12 10:34:44
Also in: linux-mips, linux-mm

On Tue, Mar 09, 2021 at 04:02:10PM +0800, Huang Pei wrote:
Loongson64 allocates arrays of pglist_data statically and is located
at Node 0, and cpu from Nodes other than 0 need remote access to
pglist_data and zone info.

Delay pglist_data allocation till run time, and make it NUMA-aware

Signed-off-by: Huang Pei <redacted>
---
 arch/mips/loongson64/numa.c | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
applied to mips-next.

This patch looks independant from the first one in this series (that's
why I've applied it). So please post such patches as single patches
and not as series.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help