[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121107003757.GM2616@ZenIV.linux.org.uk>
Date: Wed, 7 Nov 2012 00:37:57 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Nathan Zimmer <nzimmer@....com>
Cc: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists