Re: [PATCH] Fix printk format vs argument warning

From: Ingo Molnar
Date: Tue Jul 05 2005 - 16:53:34 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> calibrate_migration_costs() causes a storm of boot-time output and I
> think all those printks should be removed before this code goes up to
> Linus. Maybe split out into a separate -mm-only patch?

it was only a debugging measure. Patch below turns off.

------
turn off migration debugging.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

kernel/sched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-sched-curr/kernel/sched.c
===================================================================
--- linux-sched-curr.orig/kernel/sched.c
+++ linux-sched-curr/kernel/sched.c
@@ -5043,7 +5043,7 @@ __init static unsigned long domain_dista
return distance;
}

-static __initdata unsigned int migration_debug = 1;
+static __initdata unsigned int migration_debug = 0;

static int __init setup_migration_debug(char *str)
{
-
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/