Re: [PATCH RFC] x86/sgx: Do not increase encl->refcount for VMAs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 13, 2019 at 07:30:07PM +0300, Jarkko Sakkinen wrote:
> Since the device file stays open up until all VMAs have been closed
> we do not need to increase encl->refcount for VMAs. sgx_open() will
> increase it once and sgx_release() will decrease at a point where
> the device file is not mapped. anymore.
> 
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

Cool if I merge this one?

/Jarkko



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux