Re: [PATCH v2] powerpc/drmem: Don't compute the NUMA node for each LMB

2022-04-04 Thread Laurent Dufour
On 02/04/2022, 18:35:15, Christophe Leroy wrote: > > > Le 05/08/2020 à 15:35, Laurent Dufour a écrit : >> All the LMB from the same set of ibm,dynamic-memory-v2 property are >> sharing the same NUMA node. Don't compute that node for each one. >> >> Tested on a system with 1022 LMBs spread on 4 NU

Re: [PATCH v2] powerpc/drmem: Don't compute the NUMA node for each LMB

2022-04-02 Thread Christophe Leroy
Le 05/08/2020 à 15:35, Laurent Dufour a écrit : All the LMB from the same set of ibm,dynamic-memory-v2 property are sharing the same NUMA node. Don't compute that node for each one. Tested on a system with 1022 LMBs spread on 4 NUMA nodes, only 4 calls to lmb_set_nid() have been made instead

[PATCH v2] powerpc/drmem: Don't compute the NUMA node for each LMB

2020-08-05 Thread Laurent Dufour
All the LMB from the same set of ibm,dynamic-memory-v2 property are sharing the same NUMA node. Don't compute that node for each one. Tested on a system with 1022 LMBs spread on 4 NUMA nodes, only 4 calls to lmb_set_nid() have been made instead of 1022. This should prevent some soft lockups when