|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86 shadow: Audit tables and guest walk w
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204206030 0
# Node ID 15c3c136206d89c4f33ba09d956d798d6fa17126
# Parent 0e22182446fae20e022a9c28a6ac6cda6cae4790
x86 shadow: Audit tables and guest walk when we know they are consistent.
From: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/mm/shadow/multi.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 0e22182446fa -r 15c3c136206d xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c Thu Feb 28 13:21:49 2008 +0000
+++ b/xen/arch/x86/mm/shadow/multi.c Thu Feb 28 13:40:30 2008 +0000
@@ -2952,8 +2952,6 @@ static int sh_page_fault(struct vcpu *v,
#endif /* (SHADOW_OPTIMIZATIONS & SHOPT_VIRTUAL_TLB) */
shadow_lock(d);
- shadow_audit_tables(v);
- sh_audit_gw(v, &gw);
if ( gw_remove_write_accesses(v, va, &gw) )
{
@@ -2971,6 +2969,9 @@ static int sh_page_fault(struct vcpu *v,
shadow_unlock(d);
return EXCRET_fault_fixed;
}
+
+ shadow_audit_tables(v);
+ sh_audit_gw(v, &gw);
/* Make sure there is enough free shadow memory to build a chain of
* shadow tables. (We never allocate a top-level shadow on this path,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86 shadow: Audit tables and guest walk when we know they are consistent.,
Xen patchbot-unstable <=
|
|
|
|
|