Skip to contentSkip to conversation

xen/common/timer.c, a part of ready list timers don't free?

DISCUSSION new-baby 1 participant 1 message Jul 1, 2014

lore
Share & tools
lore

new-baby

author
#0 lore raw

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-devel mailing list
[email protected]
http://lists.xen.org/xen-devel