ia64/xen-unstable

changeset 2559:4958d0e4c7e2

bitkeeper revision 1.1159.1.184 (41556de8uNxMPwdAzyo_5qqbpdiDIg)

trivial change to zero perf counters on shadow flush op.
author iap10@labyrinth.cl.cam.ac.uk
date Sat Sep 25 13:08:56 2004 +0000 (2004-09-25)
parents 0516d2b22caf
children 13eee2d191f6
files xen/arch/x86/shadow.c
line diff
     1.1 --- a/xen/arch/x86/shadow.c	Sat Sep 25 12:35:55 2004 +0000
     1.2 +++ b/xen/arch/x86/shadow.c	Sat Sep 25 13:08:56 2004 +0000
     1.3 @@ -325,6 +325,12 @@ static int shadow_mode_table_op(struct d
     1.4      {
     1.5      case DOM0_SHADOW_CONTROL_OP_FLUSH:
     1.6          __free_shadow_table( m );  
     1.7 +
     1.8 +		d->mm.shadow_fault_count       = 0;
     1.9 +		d->mm.shadow_dirty_count       = 0;
    1.10 +		d->mm.shadow_dirty_net_count   = 0;
    1.11 +		d->mm.shadow_dirty_block_count = 0;
    1.12 +
    1.13          break;
    1.14     
    1.15      case DOM0_SHADOW_CONTROL_OP_CLEAN:   // zero all-non hypervisor