On 6/8/23 04:41, kirill.shutemov@xxxxxxxxxxxxxxx wrote: > These structures take 1.5K of memory and the memory will be allocated for > all machines that boots the kernel with TDX enabled, regardless if the > machine has TDX or not. It seems very wasteful to me. Actually, those variables are in .bss. They're allocated forever for anyone that runs a kernel that has TDX support.