lkml.org 
[lkml]   [2013]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] timer_list: convert timer list to be a proper seq_file
On Wed, 27 Mar 2013, Andrew Morton wrote:
> On Tue, 26 Mar 2013 19:56:30 -0500 Nathan Zimmer <nzimmer@sgi.com> 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


\
 
 \ /
  Last update: 2013-03-27 21:42    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog