Re: [PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-11-16 Thread Michael Bringmann
>>> + if ((NODE_DATA(nid) == NULL) || + (NODE_DATA(nid)->node_spanned_pages == 0)) { + if (try_online_node(nid)) >>> >>> .. to do something like online a node. >> >> We have changed the function name to 'find_cpu_nid'. > > Ok, but I would still not expect 'find_cpu_ni

Re: [PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-11-16 Thread Nathan Fontenot
On 11/15/2017 12:28 PM, Michael Bringmann wrote: > Hello: > See below. > > On 10/16/2017 07:54 AM, Michael Ellerman wrote: >> Michael Bringmann writes: >> >>> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU, >>> it may occur that the new resources are to be inserted in

Re: [PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-11-15 Thread Michael Bringmann
Hello: See below. On 10/16/2017 07:54 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU, >> it may occur that the new resources are to be inserted into nodes >> that were not used for memory resources at bootup.

Re: [PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-10-17 Thread Michael Bringmann
On 10/16/2017 07:54 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU, >> it may occur that the new resources are to be inserted into nodes >> that were not used for memory resources at bootup. Many different >> c

Re: [PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-10-16 Thread Michael Ellerman
Michael Bringmann writes: > powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU, > it may occur that the new resources are to be inserted into nodes > that were not used for memory resources at bootup. Many different > configurations of PowerPC resources may need to be supporte

[PATCH 2/2] powerpc/hotplug: Ensure nodes initialized for hotplug

2017-09-18 Thread Michael Bringmann
powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU, it may occur that the new resources are to be inserted into nodes that were not used for memory resources at bootup. Many different configurations of PowerPC resources may need to be supported depending upon the environment. T