[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Resend PATCH 2/2] Xen/timer: Process softirq during dumping timer info
>>> On 30.09.16 at 04:19, <tianyu.lan@xxxxxxxxx> wrote: > --- a/xen/common/timer.c > +++ b/xen/common/timer.c > @@ -530,6 +530,7 @@ static void dump_timerq(unsigned char key) > { > ts = &per_cpu(timers, i); > > + process_pending_softirqs(); > printk("CPU%02d:\n", i); > spin_lock_irqsave(&ts->lock, flags); > for ( j = 1; j <= GET_HEAP_SIZE(ts->heap); j++ ) Hmm - is that enough when there are many timers on one CPU? But well, adding something inside the lock region would of course make things quite a bit harder, so I guess this has to be enough for now. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |