]> git.baikalelectronics.ru Git - kernel.git/commit
xen/p2m: avoid unneccesary TLB flush in m2p_remove_override()
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 19 Jul 2013 14:51:59 +0000 (15:51 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 9 Aug 2013 15:06:44 +0000 (11:06 -0400)
commitfd0bdd2a671837d5ad1ca945b227299b01bd2db1
treef72ac647de00fcd4cb119816c803a31d05cae846
parent5b52aaabd77afd05f306eb5f021efb0e5d255a6c
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>
arch/x86/xen/p2m.c