All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096
@ 2012-11-06 21:02 Nathan Zimmer
  2012-11-06 21:02 ` [RFC 1/2] procfs: /proc/sched_stat fails on very very large machines Nathan Zimmer
  2012-11-07  0:37 ` [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096 Al Viro
  0 siblings, 2 replies; 8+ messages in thread
From: Nathan Zimmer @ 2012-11-06 21:02 UTC (permalink / raw)
  Cc: Nathan Zimmer, Ingo Molnar, Peter Zijlstra, linux-kernel

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. 

Nathan Zimmer (2):
  procfs: /proc/sched_stat fails on very very large machines.
  procfs: /proc/sched_debug fails on very very large machines.

 kernel/sched/debug.c |  101 +++++++++++++++++++++++++-----------
 kernel/sched/stats.c |  139 +++++++++++++++++++++++++++++---------------------
 2 files changed, 152 insertions(+), 88 deletions(-)

Signed-off-by: Nathan Zimmer <nzimmer@sgi.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: linux-kernel@vger.kernel.org


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-07 15:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06 21:02 [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096 Nathan Zimmer
2012-11-06 21:02 ` [RFC 1/2] procfs: /proc/sched_stat fails on very very large machines Nathan Zimmer
2012-11-06 21:02   ` [RFC 2/2] procfs: /proc/sched_debug " Nathan Zimmer
2012-11-06 21:31     ` Dave Jones
2012-11-06 23:24       ` Nathan Zimmer
2012-11-06 23:49         ` Dave Jones
2012-11-07 15:58           ` Nathan Zimmer
2012-11-07  0:37 ` [RFC 0/2] /proc/sched_stat and /proc/sched_debug fail at 4096 Al Viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.