Optimized AMD SEV Cache Flushing Patches Posted For Linux
- Reference: 0001531452
- News link: https://www.phoronix.com/news/AMD-SEV-Optimized-Cache-Flush
- Source link:
Sean Christopherson of Google sent out the set of patches last week that use the WBNOINVD instruction rather than WBINVD for better cache maintenance efficiency within the context of SEV. Additionally there are some cache flushing optimizations for flushing the cache only on CPUs running the SEV guest(s).
These build off patches posted by Google engineer Kevin Loughlin and Chinese engineer Zheyun Shen. No performance numbers were provided as part of this patch series, but any help to further optimize cache flushing tends to be useful and of measurable impact for helping with Linux VM performance.
Those interested in this latest cache flushing optimization work for AMD SEV can find the patches under review on the [2]the kernel mailing list .
[1] https://www.phoronix.com/search/AMD+SEV
[2] https://lore.kernel.org/lkml/20250227014858.3244505-1-seanjc@google.com/
phoronix