Re: [PATCH v11 4/6] x86/sev: Add support to perform RMP optimizations asynchronously

Borislav Petkov <[email protected]> Wed, 5 Aug 2026 12:33:59 -0700
Newsgroups org.kernel.vger.linux-crypto,dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <20260805193359.GBanOQJ9tqyoX4IXiz@fat_crate.local>
On Wed, Aug 05, 2026 at 08:12:45AM -0700, Dave Hansen wrote:
> A periodic scan could be useful but only if it coincides with a VM
> teardown event, or other event that opens up new RMP optimizations. I
> _think_ we decided that with current upstream code, the only event that
> matters is VM teardown.

Yeah, see my reply to Ashish just now - it turns out we don't even have events
which will open up potential opportunities for RMP optimizations besides guest
teardown. So yeah, we should be doing it then only.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette