[PATCH v39 11/24] x86/sgx: Add SGX enclave driver
Jarkko Sakkinen
jarkko.sakkinen at linux.intel.com
Fri Oct 9 06:44:14 UTC 2020
On Wed, Oct 07, 2020 at 09:26:55PM +0200, Greg KH wrote:
> On Wed, Oct 07, 2020 at 01:09:01PM -0500, Haitao Huang wrote:
> > > > > There is a patch that adds "sgx/provision".
> > > >
> > > > What number in this series?
> > >
> > > It's 15/24.
> > >
> >
> > Don't know if this is critical. I'd prefer to keep them as is. Directory
> > seems natural to me and makes sense to add more under the same dir in case
> > there are more to come.
>
> Why is this so special that you need a subdirectory for a single driver
> with a mere 2 device nodes? Do any other misc drivers have a new
> subdirectory in /dev/ for them?
Absolutely nothing as far as I'm concerned. Should have done that
already at the time when I switched to misc based on your feedback. I
was acting too reactive I guess. For sure I'll rename.
I also looked at encl->refcount with time. Instead of just "moving the
garbage up to the correct waste pit", I'll address that one by
refactoring it out and making the reclaimer thread to do the reaper's
job.
> thanks,
>
> greg k-h
/Jarkko
More information about the Linux-security-module-archive
mailing list