Re: [PATCH v12 07/13] x86/sgx: data structures for tracking available EPC pages

From: Jarkko Sakkinen
Date: Wed Jul 04 2018 - 13:34:58 EST


On Tue, Jul 03, 2018 at 12:03:48PM -0700, Dave Hansen wrote:
> On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote:
> > This commit adds a database of EPC banks for kernel to easily access the
> > available EPC pages. On UMA architectures there is a singe bank of EPC
> > pages. On NUMA architectures there is an EPC bank for each node.
>
> Is this universally true? What about Sub-NUMA-Clustering/Cluster-on-Die
> systems?

I have to say that I do not have a good answer right now but I will
study this area for the next version.

/Jarkko