Re: [PATCH v13 5/5] x86/sev: Re-enable RMP optimizations on SNP guest shutdown

From: Dave Hansen

Date: Wed Sep 02 2026 - 18:04:29 EST


On 9/2/26 14:29, Ashish Kalra wrote:
> Perform the re-optimization after a delay, using mod_delayed_work() so
> that the delay timer is reset on each call. This batches multiple guest
> terminations into a single pass: the re-optimization runs 10 seconds
> after the *last* termination rather than after the first.
> mod_delayed_work() also re-queues work that is already in-flight, so a
> re-scan request during an active scan is not silently dropped.

Simple enough.

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>