[PATCH RFC 3/5] powerpc:numa create 1:1 mappaing between chipid and nid

Raghavendra K T raghavendra.kt at linux.vnet.ibm.com
Wed Sep 30 04:35:00 AEST 2015


On 09/28/2015 10:58 PM, Nishanth Aravamudan wrote:
> On 27.09.2015 [23:59:11 +0530], Raghavendra K T wrote:
>> Once we have made the distinction between nid and chipid
>> create a 1:1 mapping between them. This makes compacting the
>> nids easy later.
>
>
> Didn't the previous patch just do the opposite of...
>

As per my thoughts it was:
1. rename functions to say loud that it is chipid (and not nid)
2. and then assign nid = chipid so that we are clear that
we made nid:chipid 1:1 mapping and compact nids later..

But again may be I should combine patch 2 and 3.



More information about the Linuxppc-dev mailing list