[PATCH] disable sched domains debug for 2.6.9

From: Jesse Barnes
Date: Fri Sep 24 2004 - 10:40:28 EST


Linus, can you please apply this to the BK tree prior to 2.6.9? Nick's
already ok'd it.

This patch disables the sched domains debug code, which has a tendency to
print out a *lot* of information. It's helpful for debugging, but a bit
overboard for general use. Also, if you have a high NR_CPUS value, it tends
to scare people and overflow the dmesg buffer.

Signed-off-by: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Signed-off-by: Jesse Barnes <jbarnes@xxxxxxx>

Thanks,
Jesse


===== kernel/sched.c 1.350 vs edited =====
--- 1.350/kernel/sched.c 2004-09-13 17:23:11 -07:00
+++ edited/kernel/sched.c 2004-09-24 07:56:00 -07:00
@@ -4577,7 +4577,7 @@
}
}

-#define SCHED_DOMAIN_DEBUG
+#undef SCHED_DOMAIN_DEBUG
#ifdef SCHED_DOMAIN_DEBUG
void sched_domain_debug(void)
{