On 06.05.2025 10:31, Roger Pau Monne wrote: > Only do the cache flush when there's a p2m type change to propagate, > otherwise there's no change in the p2m effective caching attributes. > > If the p2m memory_type_changed hook is not set p2m_memory_type_changed() is > a no-op, no recalculation of caching attributes is needed, nor flushing of > the previous cache contents. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>