Skip to contentSkip to conversation

disable sched domains debug for 2.6.9

PATCH New Jesse Barnes 1 participant 1 message Sep 24, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

PATCH 1/1 disable sched domains debug for 2.6.9

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.

Thanks,
Jesse

===== kernel/sched.c 1.350 vs edited =====

kernel/sched.c +1 -1
@@ -4577,7 +4577,7 @@
 	}
 }
 
-#define SCHED_DOMAIN_DEBUG
+#undef SCHED_DOMAIN_DEBUG
 #ifdef SCHED_DOMAIN_DEBUG
 void sched_domain_debug(void)
 {