]> xenbits.xensource.com Git - xen.git/commit
x86/PV32: avoid TLB flushing after mod_l3_entry()
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:19:18 +0000 (09:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:19:18 +0000 (09:19 +0200)
commitbed7e6cad30ec8db0c9ce9a1676856e9dc4c39da
treea329cca3916daf43ff19bcdf13dcde3e6328f313
parentedcfce55917bb412f986d7b28358f6ef155b3664
x86/PV32: avoid TLB flushing after mod_l3_entry()

32-bit guests may not depend upon the side effect of using ordinary
4-level paging when running on a 64-bit hypervisor. For L3 entry updates
to take effect, they have to use a CR3 reload. Therefore there's no need
to issue a paging structure invalidating TLB flush in this case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/mm.c