[PATCH 6/7] sched: Limit the number of scheduler debug messages

From: Mike Travis
Date: Thu Nov 12 2009 - 12:21:35 EST


Limit number of sched debug messages for MAXSMP systems.

Signed-off-by: Mike Travis <travis@xxxxxxx>
---
lib/Kconfig.debug | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--- linux.orig/lib/Kconfig.debug
+++ linux/lib/Kconfig.debug
@@ -235,11 +235,12 @@
config SCHED_DEBUG
bool "Collect scheduler debugging info"
depends on DEBUG_KERNEL && PROC_FS
- default y
+ default !MAXSMP
help
If you say Y here, the /proc/sched_debug file will be provided
that can help debug the scheduler. The runtime overhead of this
- option is minimal.
+ option is minimal unless there are a large number of CPUs in
+ the system.

config SCHEDSTATS
bool "Collect scheduler statistics"

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/