[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v1 1/1] xen: No need to flush the mapcache for grants
From: Stefano Stabellini <stefano.stabellini@xxxxxxx> On IOREQ_TYPE_INVALIDATE we need to invalidate the mapcache for regular mappings. Since recently we started reusing the mapcache also to keep track of grants mappings. However, there is no need to remove grant mappings on IOREQ_TYPE_INVALIDATE requests, we shouldn't do that. So remove the function call. Fixes: 9ecdd4bf08 (xen: mapcache: Add support for grant mappings) Cc: qemu-stable@xxxxxxxxxx Reported-by: Olaf Hering <olaf@xxxxxxxxx> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xxxxxxx> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xxxxxxx> --- hw/xen/xen-mapcache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/xen/xen-mapcache.c b/hw/xen/xen-mapcache.c index 00bfbcc6fb..698b5c53ed 100644 --- a/hw/xen/xen-mapcache.c +++ b/hw/xen/xen-mapcache.c @@ -700,7 +700,6 @@ void xen_invalidate_map_cache(void) bdrv_drain_all(); xen_invalidate_map_cache_single(mapcache); - xen_invalidate_map_cache_single(mapcache_grants); } static uint8_t *xen_replace_cache_entry_unlocked(MapCache *mc, -- 2.43.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |