Intel engineer Rick Edgecombe recently submitted a patch set to the Linux Kernel Mailing List (LKML) proposing to remove unnecessary software cache-flush operations when Intel TDX switches memory KeyIDs. The series deletes 66 lines of code and further simplifies TDX's architectural logic.
TDX (Trust Domain Extensions) is Intel's trust domain technology for confidential computing with virtual machines. Relying on the MKTME mechanism to encrypt memory, it aims to protect tenant data on cloud VMs even when the host is untrusted. Early in TDX's development, engineers believed hardware needed software assistance to flush caches when migrating memory between KeyIDs, and the requirement was written into the architecture; later validation found that the final production TDX hardware handles this entirely on its own, so software involvement is simply superfluous.
The patch set corrects this piece of legacy: the cache-flush logic in x86/virt/tdx and in KVM is removed, and the official documentation will be updated in step. The patch notes give no concrete performance figures, but industry analysis suggests that eliminating these frequently triggered, unnecessary flushes should benefit memory migration and overall runtime efficiency of TDX VMs. Based on Linux 7.3-rc1, the patch is still under community review.
For enterprise IT, confidential computing is moving from strongly regulated scenarios such as finance and government into broader production use, and the performance cost introduced by encryption has long been a practical barrier to adoption. This kernel-level slimming means the performance penalty for running encrypted VMs on TDX-capable Xeon platforms should narrow further, improving the cost calculus for data-sensitive workloads on both private and public clouds. Teams that track kernel upgrade cycles should add this change to their confidential-computing watch list.