Re: [PATCH] x86/sgx: Avoid returning NULL in __sgx_alloc_epc_page()

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

 



On Fri, Mar 19, 2021 at 08:59:46AM -0700, Dave Hansen wrote:
> It's probably best to squash my patch in.  The uninitialized value could
> *theoretically* cause the search to start at the wrong node and then end
> before every node has been visited.  That could cause premature
> allocation failures.
> 
> But, I seriously doubt anyone will notice either way.

Yeah, I think too that we should be on the safe side, just in case.
Lemme redo the branch with the new changes and test.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette



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

  Powered by Linux