]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Do not flush hypervisor TLB on unrelated page table changes
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 15 Jun 2014 05:35:26 +0000 (07:35 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 15 Jun 2014 05:52:18 +0000 (07:52 +0200)
commitb83fcd0a32577528a8649a3552cfe55d039d98c0
tree3b3851581ebab1604b7d5e597c4d96c2bcb62f64
parentb069e16c6deec3f5813bd0648ca8752ad779fafa
core: Do not flush hypervisor TLB on unrelated page table changes

Only when working against the hypervisor page table in page_map_create
and page_map_destroy, we actually need to flush TLBs. Other page tables
require arch-specific flushings that we perform on arch_config_commit.

This measurably speeds up Jailhouse activation, e.g., when a significant
number of EPT and VT-d page table changes are performed.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/paging.c