All of lore.kernel.org
 help / color / mirror / Atom feed
* xen/common/timer.c, a part of ready list timers don't free?
@ 2014-07-01 13:41 new-baby
  0 siblings, 0 replies; only message in thread
From: new-baby @ 2014-07-01 13:41 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 454 bytes --]

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




[-- Attachment #1.2: Type: text/html, Size: 1084 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-01 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01 13:41 xen/common/timer.c, a part of ready list timers don't free? new-baby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.