Re: [PATCH V7 1/3] powerpc/nodes: Ensure enough nodes avail for operations

2017-11-27 Thread Michael Bringmann
See below. On 11/22/2017 05:17 AM, Michael Ellerman wrote: > Nathan Fontenot writes: >> On 11/16/2017 11:24 AM, Michael Bringmann wrote: > ... >>> diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c >>> index eb604b3..334a1ff 100644 >>> --- a/arch/powerpc/mm/numa.c >>> +++ b/arch/powerpc

Re: [PATCH V7 1/3] powerpc/nodes: Ensure enough nodes avail for operations

2017-11-27 Thread Michael Bringmann
See below. On 11/20/2017 10:33 AM, Nathan Fontenot wrote: > > > On 11/16/2017 11:24 AM, Michael Bringmann wrote: >> On powerpc systems which allow 'hot-add' of CPU or memory resources, >> it may occur that the new resources are to be inserted into nodes >> that were not used for these resources

Re: [PATCH V7 1/3] powerpc/nodes: Ensure enough nodes avail for operations

2017-11-22 Thread Michael Ellerman
Nathan Fontenot writes: > On 11/16/2017 11:24 AM, Michael Bringmann wrote: ... >> diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c >> index eb604b3..334a1ff 100644 >> --- a/arch/powerpc/mm/numa.c >> +++ b/arch/powerpc/mm/numa.c >> @@ -892,6 +892,37 @@ static void __init setup_node_data

Re: [PATCH V7 1/3] powerpc/nodes: Ensure enough nodes avail for operations

2017-11-20 Thread Nathan Fontenot
On 11/16/2017 11:24 AM, Michael Bringmann wrote: > On powerpc systems which allow 'hot-add' of CPU or memory resources, > it may occur that the new resources are to be inserted into nodes > that were not used for these resources at bootup. In the kernel, > any node that is used must be defined a

[PATCH V7 1/3] powerpc/nodes: Ensure enough nodes avail for operations

2017-11-16 Thread Michael Bringmann
On powerpc systems which allow 'hot-add' of CPU or memory resources, it may occur that the new resources are to be inserted into nodes that were not used for these resources at bootup. In the kernel, any node that is used must be defined and initialized. These empty nodes may occur when, * Dedic