ia64/xen-unstable

changeset 256:d88600b1da0e

bitkeeper revision 1.105.1.6 (3e5f8204s9-knAqGrLNqui07TjPy1w)

temporary domain death fix
author smh22@boulderdash.cl.cam.ac.uk
date Fri Feb 28 15:36:36 2003 +0000 (2003-02-28)
parents 3ad7fdd91087
children cbf732c2b28c
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Fri Feb 28 14:56:50 2003 +0000
     1.2 +++ b/xen/common/domain.c	Fri Feb 28 15:36:36 2003 +0000
     1.3 @@ -206,6 +206,9 @@ void release_task(struct task_struct *p)
     1.4      REMOVE_LINKS(p);
     1.5      write_unlock_irq(&tasklist_lock);
     1.6  
     1.7 +    /* XXX SMH: so below is screwed currently; need ref counting on vifs,
     1.8 +       vhds, etc and proper clean up. Until then just blow the memory :-( */
     1.9 +#if 0
    1.10      /*
    1.11       * Safe! Only queue skbuffs with tasklist_lock held.
    1.12       * Only access shared_info with tasklist_lock held.
    1.13 @@ -225,6 +228,9 @@ void release_task(struct task_struct *p)
    1.14      free_all_dom_mem(p);
    1.15  
    1.16      free_task_struct(p);
    1.17 +#else 
    1.18 +    printk("XEN::release_task: not freeing memory etc yet XXX FIXME.\n"); 
    1.19 +#endif
    1.20  }
    1.21  
    1.22