Re: [PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-05 Thread Leizhen (ThunderTown)
On 2016/6/3 17:52, Will Deacon wrote: > On Thu, Jun 02, 2016 at 10:28:09AM +0800, Zhen Lei wrote: >> Use the same tactic to cpu and numa-distance nodes. > > Sorry, I don't understand... :/ In function of_numa_parse_cpu_nodes: for_each_child_of_node(cpus, np) { ... r =

Re: [PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-05 Thread Leizhen (ThunderTown)
On 2016/6/3 17:52, Will Deacon wrote: > On Thu, Jun 02, 2016 at 10:28:09AM +0800, Zhen Lei wrote: >> Use the same tactic to cpu and numa-distance nodes. > > Sorry, I don't understand... :/ In function of_numa_parse_cpu_nodes: for_each_child_of_node(cpus, np) { ... r =

Re: [PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-03 Thread Will Deacon
On Thu, Jun 02, 2016 at 10:28:09AM +0800, Zhen Lei wrote: > Use the same tactic to cpu and numa-distance nodes. Sorry, I don't understand... :/ Will > > Signed-off-by: Zhen Lei > --- > arch/arm64/mm/numa.c | 5 + > 1 file changed, 5 insertions(+) > > diff

Re: [PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-03 Thread Will Deacon
On Thu, Jun 02, 2016 at 10:28:09AM +0800, Zhen Lei wrote: > Use the same tactic to cpu and numa-distance nodes. Sorry, I don't understand... :/ Will > > Signed-off-by: Zhen Lei > --- > arch/arm64/mm/numa.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/mm/numa.c

[PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-01 Thread Zhen Lei
Use the same tactic to cpu and numa-distance nodes. Signed-off-by: Zhen Lei --- arch/arm64/mm/numa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c index c7fe3ec..2601660 100644 --- a/arch/arm64/mm/numa.c +++

[PATCH v3 3/5] arm64/numa: add nid check for memory block

2016-06-01 Thread Zhen Lei
Use the same tactic to cpu and numa-distance nodes. Signed-off-by: Zhen Lei --- arch/arm64/mm/numa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c index c7fe3ec..2601660 100644 --- a/arch/arm64/mm/numa.c +++ b/arch/arm64/mm/numa.c @@ -141,6