Re: [PATCH 2/2] timer_list: convert timer list to be a properseq_file

From: Thomas Gleixner
Date: Wed Mar 27 2013 - 16:05:50 EST


On Wed, 27 Mar 2013, Andrew Morton wrote:
> On Tue, 26 Mar 2013 19:56:30 -0500 Nathan Zimmer <nzimmer@xxxxxxx> wrote:
> > +void sysrq_timer_list_show(void)
> > +{
> > + u64 now = ktime_to_ns(ktime_get());
> > + int cpu;
> > +
> > + timer_list_header(NULL, now);
> >
> > for_each_online_cpu(cpu)
>
> hm, it seems this code is taking the optimistic approach to CPU hotplug.

Right. It's not really relevant. The data structures are not going
away and this can cope with the fact that the cpu went away under us.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/