[RFC PATCH v4 01/12] x86/sgx: Use mmu_notifier.release() instead of per-vma refcounting
Jarkko Sakkinen
jarkko.sakkinen at linux.intel.com
Tue Jul 9 16:18:08 UTC 2019
On Mon, Jul 08, 2019 at 07:57:07AM -0700, Sean Christopherson wrote:
> On Fri, Jun 21, 2019 at 12:03:36AM +0300, Jarkko Sakkinen wrote:
> > On Wed, Jun 19, 2019 at 03:23:50PM -0700, Sean Christopherson wrote:
> > > Using per-vma refcounting to track mm_structs associated with an enclave
> > > requires hooking .vm_close(), which in turn prevents the mm from merging
> > > vmas (precisely to allow refcounting).
> >
> > Why having sgx_vma_close() prevents that? I do not understand the
> > problem statement.
>
> vmas that define .vm_close() cannot be merged.
Ugh, did not know that :-) Thank you.
/Jarkko
More information about the Linux-security-module-archive
mailing list