From cb152ff26717961b10d0888cd983ba284cb99cd1 Mon Sep 17 00:00:00 2001 From: Nathan Zimmer Date: Thu, 21 Feb 2013 15:15:08 -0800 Subject: [PATCH] sched: Fix /proc/sched_stat failure on very very large systems On systems with 4096 cores doing a cat /proc/sched_stat 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 use the single_open() mechanism but to provide our own seq_operations. The output should be identical to previous version and thus not need the version number. Reported-by: Dave Jones Signed-off-by: Nathan Zimmer Cc: Peter Zijlstra Cc: Wu Fengguang [ Fix memleak] [ Fix spello in comment] [ Fix warnings] Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-format-patch failed