Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-11 Thread Geetika Moolchandani1
From: Srikar Dronamraju Sent: Friday, April 8, 2022 5:55 PM To: Oscar Salvador Cc: Michael Ellerman ; linuxppc-dev ; linux...@kvack.org ; Michal Hocko ; Geetika Moolchandani1 Subject: Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-11 Thread Oscar Salvador
On Sun, Apr 10, 2022 at 09:28:38PM +1000, Michael Ellerman wrote: > Yeah agreed, thanks for getting to the root of the problem. > > Can you resend as a standalone patch. Because you sent it as a reply it > won't be recognised by patchwork[1] which means it risks getting lost. Hi Michael, It's

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-10 Thread Michael Ellerman
On Wed, 30 Mar 2022 19:21:23 +0530, Srikar Dronamraju wrote: > With commit 09f49dca570a ("mm: handle uninitialized numa nodes > gracefully") NODE_DATA for even a memoryless/cpuless node is partially > initialized at boot time. > > Before onlining the node, current Powerpc code checks for

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-10 Thread Michael Ellerman
Srikar Dronamraju writes: > * Oscar Salvador [2022-04-06 18:19:00]: > >> On Wed, Mar 30, 2022 at 07:21:23PM +0530, Srikar Dronamraju wrote: >> > arch/powerpc/mm/numa.c | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> > diff --git a/arch/powerpc/mm/numa.c

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-08 Thread Srikar Dronamraju
* Oscar Salvador [2022-04-06 18:19:00]: > On Wed, Mar 30, 2022 at 07:21:23PM +0530, Srikar Dronamraju wrote: > > arch/powerpc/mm/numa.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c > > index

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-06 Thread Oscar Salvador
On Wed, Mar 30, 2022 at 07:21:23PM +0530, Srikar Dronamraju wrote: > arch/powerpc/mm/numa.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c > index b9b7fefbb64b..13022d734951 100644 > --- a/arch/powerpc/mm/numa.c > +++

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-04-04 Thread Mike Rapoport
On Wed, Mar 30, 2022 at 07:21:23PM +0530, Srikar Dronamraju wrote: > With commit 09f49dca570a ("mm: handle uninitialized numa nodes > gracefully") NODE_DATA for even a memoryless/cpuless node is partially > initialized at boot time. > > Before onlining the node, current Powerpc code checks for

Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-03-30 Thread Oscar Salvador
On Wed, Mar 30, 2022 at 07:21:23PM +0530, Srikar Dronamraju wrote: > With commit 09f49dca570a ("mm: handle uninitialized numa nodes > gracefully") NODE_DATA for even a memoryless/cpuless node is partially > initialized at boot time. > > Before onlining the node, current Powerpc code checks for

[PATCH] powerpc/numa: Handle partially initialized numa nodes

2022-03-30 Thread Srikar Dronamraju
With commit 09f49dca570a ("mm: handle uninitialized numa nodes gracefully") NODE_DATA for even a memoryless/cpuless node is partially initialized at boot time. Before onlining the node, current Powerpc code checks for NODE_DATA to be NULL. However since NODE_DATA is partially initialized, this