Re: [PATCH v3 5/6] platform/x86: intel_tdx_attest: Add TDX Guest attestation interface driver

From: Andi Kleen
Date: Tue Jul 20 2021 - 17:20:07 EST



On 7/20/2021 10:59 AM, Dave Hansen wrote:
On 7/20/21 10:52 AM, Kuppuswamy, Sathyanarayanan wrote:
Why does this need to use the page allocator directly?
^^ You didn't address this question.


The address needs to be naturally aligned, and I'm not sure all slab allocators guarantee 64 byte alignment. So using the page allocator seems to be safer. I guess a comment would be good.


-Andi