Re: Runtime Memory Validation in Intel-TDX and AMD-SNP
From: Joerg Roedel <hidden>
Date: 2021-07-21 13:19:57
Also in:
linux-mm
From: Joerg Roedel <hidden>
Date: 2021-07-21 13:19:57
Also in:
linux-mm
On Wed, Jul 21, 2021 at 01:02:06PM +0300, Kirill A. Shutemov wrote:
Yeah, we would need to reconstruct the EFI map somehow. Or we can give most of memory back to the host and accept/validate the memory again after reboot/kexec. I donno.
Invalidating all memory will also take a lot of time (in the range of seconds). And the EFI map can get pretty large when there is enough fragmentation. The easiest way to handle this is to just pass on an up-to-date data structure. Regards, Joerg