ia64/xen-unstable

changeset 2644:18effb096694

bitkeeper revision 1.1159.1.236 (416fe93f1eolBWPXpS5xz_W7C8c-oQ)

In-comment questions have been answered.
author kaf24@freefall.cl.cam.ac.uk
date Fri Oct 15 15:14:07 2004 +0000 (2004-10-15)
parents 33abe95e07ae
children d1d3b5fb3145
files xen/arch/x86/shadow.c
line diff
     1.1 --- a/xen/arch/x86/shadow.c	Fri Oct 15 00:20:20 2004 +0000
     1.2 +++ b/xen/arch/x86/shadow.c	Fri Oct 15 15:14:07 2004 +0000
     1.3 @@ -256,7 +256,6 @@ static int shadow_mode_table_op(
     1.4  
     1.5      switch ( op )
     1.6      {
     1.7 -        /* XXX KAF: Do we really need this function? Is it any use? */
     1.8      case DOM0_SHADOW_CONTROL_OP_FLUSH:
     1.9          free_shadow_state(m);
    1.10  
    1.11 @@ -268,11 +267,6 @@ static int shadow_mode_table_op(
    1.12          break;
    1.13     
    1.14      case DOM0_SHADOW_CONTROL_OP_CLEAN:
    1.15 -        /*
    1.16 -         * XXX KAF: Why not just free_shadow_state()? Is zeroing L2's faster?
    1.17 -         * If so, why wouldn't zeroing L1's be better than freeing them, as we
    1.18 -         * do now?
    1.19 -         */
    1.20          clear_shadow_state(m);
    1.21  
    1.22          sc->stats.fault_count       = m->shadow_fault_count;