On Tue, Nov 06, 2012 at 03:02:19PM -0600, Nathan Zimmer wrote:
> When running with 4096 cores attemping to read /proc/sched_stat and
> /proc/sched_debug 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. 

Not a bad idea, but the iterator is wrong - it assumes that CPU 0 is always
online, AFAICS.  Header should be handled separately - see my reply to
davej several hours ago.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to