[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen/common/timer.c, a part of ready list timers don't free?


  • To: xen-users@xxxxxxxxxxxxx
  • From: goingstudy <goingstudy@xxxxxxx>
  • Date: Thu, 3 Jul 2014 17:12:18 +0800 (CST)
  • Delivery-date: Thu, 03 Jul 2014 09:12:39 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi all,

In xen/common/timer.c,
static void timer_softirq_action(... )
{
    .....
    while ( ((t = ts->list) != NULL) && (t->expires < now) ) 
    {
           ts->list = t->list_next;
           execute_timer(ts, t);
    }
   .....
}
This execute ready list timers,  the following code will process the timers pointed by ts->list,
but nothing be done to the timers before ts->list after above while.
I suspect this would lead memory leak?

thanks


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.