diff options
author | Nathan Zimmer <nzimmer@sgi.com> | 2013-02-21 15:15:09 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-02-22 10:27:25 +0100 |
commit | bbbfeac92beff40eb86c7f682a7f1395f9f0ae52 (patch) | |
tree | 80a9f7d32d7a9a7898349c6e6ca88a1a7c1edf13 /arch/arm/plat-pxa | |
parent | cb152ff26717961b10d0888cd983ba284cb99cd1 (diff) | |
download | op-kernel-dev-bbbfeac92beff40eb86c7f682a7f1395f9f0ae52.zip op-kernel-dev-bbbfeac92beff40eb86c7f682a7f1395f9f0ae52.tar.gz |
sched: Fix /proc/sched_debug failure on very very large systems
On systems with 4096 cores attemping to read /proc/sched_debug
fails because we are trying to push all the data into a single
kmalloc buffer.
The issue is on these very large machines all the data will not
fit in 4mb.
A better solution is to not us the single_open mechanism but to
provide our own seq_operations and treat each cpu as an
individual record.
The output should be identical to the previous version.
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Nathan Zimmer <nzimmer@sgi.com>
Cc: Peter Zijlstra <peterz@infradead.org>)
[ Whitespace fixlet]
[ Fix spello in comment]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arm/plat-pxa')
0 files changed, 0 insertions, 0 deletions