Re: [PATCH v16 18/22] platform/x86: Intel SGX driver

From: Jarkko Sakkinen
Date: Wed Nov 21 2018 - 06:46:58 EST


On Thu, Nov 15, 2018 at 10:16:25PM +0200, Jarkko Sakkinen wrote:
> This is how strongly think. I can go with VMAs for swapping *but* if
> that is the route I would recommend using vm_mmap() instead of taking
> pointer from user space. This way the way swapping is done can be always
> changed. It will be a huge lock-in to do it otherwise.

I digged out my old code and it should be easy to replace. Most of the
issues were related to exit_mm(), which have been anyway sorted in the
code base.

I'll do it for v18.

/Jarkko