]> xenbits.xensource.com Git - xen.git/commit
x86: reduce Meltdown band-aid IPI overhead
authorJan Beulich <jbeulich@suse.com>
Wed, 7 Feb 2018 15:31:41 +0000 (16:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 7 Feb 2018 15:31:41 +0000 (16:31 +0100)
commita22320e32dca0918ed23799583f470afe4c24330
treef3606feb79516993a197ed43b3f768cf27a3df95
parentc5d981c5538284726ad75c852bb4f57ee8bae916
x86: reduce Meltdown band-aid IPI overhead

In case we can detect single-threaded guest processes (by checking
whether we can account for all root page table uses locally on the vCPU
that's running), there's no point in issuing a sync IPI upon an L4 entry
update, as no other vCPU of the guest will have that page table loaded.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm.c