Re: [PATCH v2] powerpc/numa: Limit possible nodes to within num_possible_nodes

2020-07-27 Thread Michael Ellerman
On Fri, 24 Jul 2020 16:28:09 +0530, Srikar Dronamraju wrote: > MAX_NUMNODES is a theoretical maximum number of nodes thats is supported > by the kernel. Device tree properties exposes the number of possible > nodes on the current platform. The kernel would detected this and would > use it for most

[PATCH v2] powerpc/numa: Limit possible nodes to within num_possible_nodes

2020-07-24 Thread Srikar Dronamraju
MAX_NUMNODES is a theoretical maximum number of nodes thats is supported by the kernel. Device tree properties exposes the number of possible nodes on the current platform. The kernel would detected this and would use it for most of its resource allocations. If the platform now increases the