Re: [PATCH v2] sgx.7: New page with overview of Software Guard eXtensions (SGX)

Jarkko Sakkinen
2021-02-02T17:48:02Z

On Thu, Jan 21, 2021 at 03:33:05PM +0100, Michael Kerrisk (man-pages) wrote:
> Hi Jarko,

Jarkko :-)

> On 1/21/21 12:18 PM, Jarkko Sakkinen wrote:
> > On Tue, Dec 22, 2020 at 07:53:24PM +0100, Michael Kerrisk (man-pages) wrote:
> >>> * Fixed the semantic newlines convention and various style errors etc.
> >>> that were reported by Alenjandro and Michael.
>
> s/Alenjandro/Alejandro/ :-)

Just had to mention the typo above because of this, sorry :-) I'll
fix this.

> > So the thing is that there is reserved memory, consider it as a bit like
> > VRAM. This memory can be oversubscribed. Then when you create an enclave
> > you consume these pages. When running out of them, the kernel swaps pages
> > from enclaves across the system currently based on a trivial FIFO policy.
> > So these regions define kind of the memory pool for all enclaves running in
> > the system.
>
> SO, is there some suitable change for the manual page text?

What if I just edit it from this? I think the video RAM comparison makes
this common sense understandable. There's restricted memory shared by
processes and managed by the kernel.

/Jarkko