Messages in this thread | | | Date | Thu, 28 May 2020 10:36:28 +0300 | From | Jarkko Sakkinen <> | Subject | Re: [PATCH v30 07/20] x86/sgx: Enumerate and track EPC sections |
| |
On Wed, May 27, 2020 at 10:35:09PM +0200, Borislav Petkov wrote:
> > One idea would be to provide a Kconfig a la NR_CPUS or NODES_SHIFT. I.e. > > carve out the bits in sgx_epc_page_desc to allow up to N sections, but let > > the user limit the number of sections to recoup the unused memory. > > I'd prefer a good estimate of a highest value, say 8 bits, which should > suffice for the foreseeable future. That's the simplest thing to do and > our Kconfig symbols space is an abomination of gazillion symbols.
OK, will do.
/Jarkko
| |