summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2013-07-19 15:51:59 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-08-09 11:06:44 -0400
commit65a45fa2f640f72757ef00f2bc83f9654d65a62b (patch)
treef72ac647de00fcd4cb119816c803a31d05cae846 /arch
parent3eeef8f72a9365fe20f2c9d84b0afe60a20788cd (diff)
downloadop-kernel-dev-65a45fa2f640f72757ef00f2bc83f9654d65a62b.zip
op-kernel-dev-65a45fa2f640f72757ef00f2bc83f9654d65a62b.tar.gz
xen/p2m: avoid unneccesary TLB flush in m2p_remove_override()
In m2p_remove_override() when removing the grant map from the kernel mapping and replacing with a mapping to the original page, the grant unmap will already have flushed the TLB and it is not necessary to do it again after updating the mapping. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/p2m.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 95fb2aa..74672ee 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -1003,7 +1003,6 @@ int m2p_remove_override(struct page *page,
set_pte_at(&init_mm, address, ptep,
pfn_pte(pfn, PAGE_KERNEL));
- __flush_tlb_single(address);
kmap_op->host_addr = 0;
}
}
OpenPOWER on IntegriCloud