projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73e225
)
x86/HAP: also flush TLB when altering a present 1G or intermediate entry
author
Jan Beulich
<jbeulich@suse.com>
Mon, 14 Apr 2014 13:14:47 +0000
(15:14 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 14 Apr 2014 13:14:47 +0000
(15:14 +0200)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/hap/hap.c
b/xen/arch/x86/mm/hap/hap.c
index b8c5422a146d63a3238d0dc5fe2260b235351095..71227ef94baa821fc9478f1ef3ea3f6d043f58c2 100644
(file)
--- a/
xen/arch/x86/mm/hap/hap.c
+++ b/
xen/arch/x86/mm/hap/hap.c
@@
-711,9
+711,8
@@
hap_write_p2m_entry(struct vcpu *v, unsigned long gfn, l1_pgentry_t *p,
}
safe_write_pte(p, new);
- if ( (old_flags & _PAGE_PRESENT)
- && (level == 1 || (level == 2 && (old_flags & _PAGE_PSE))) )
- flush_tlb_mask(d->domain_dirty_cpumask);
+ if ( old_flags & _PAGE_PRESENT )
+ flush_tlb_mask(d->domain_dirty_cpumask);
paging_unlock(d);