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

2013-03-27 Thread Thomas Gleixner
On Wed, 27 Mar 2013, Andrew Morton wrote: > On Tue, 26 Mar 2013 19:56:30 -0500 Nathan Zimmer 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,

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

2013-03-27 Thread Andrew Morton
On Tue, 26 Mar 2013 19:56:30 -0500 Nathan Zimmer wrote: > When running with 4096 cores attemping to read /proc/timer_list will fail > with an ENOMEM condition. On a sufficantly large systems the total amount > of data is more then 4mb, so it won't fit into a single buffer. The > failure can als