On Tue, Jun 23, 2020 at 07:39:31AM +0300, Jarkko Sakkinen wrote: > Create a pointer array for each NUMA node with the references to the > contained EPC sections. Use this in __sgx_alloc_epc_page() to knock the > current NUMA node before the others. > > Cc: Dave Hansen <dave.hansen@xxxxxxxxx> > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> I took a reverse approach, i.e. have only pointer arrays in the numa structs. I think we should just include this. It makes the overall structure more legit, meaning that we do something useful with the sections. It clarifies more than dissolves so to speak... /Jarkko