From e7623b2574923bdd35e30d7ac5f4db9c87d36a3d Mon Sep 17 00:00:00 2001 From: Chuck Ebbert <76306.1226@compuserve.com> Date: Sat, 4 Feb 2006 23:27:42 -0800 Subject: [PATCH] --- yaml --- r: 19795 b: refs/heads/master c: bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4 h: refs/heads/master i: 19793: ecf706492d9f50da046121b15305d7637e54da56 19791: 560ff2ed8ae4e304f6fa325b9bc61d79acfb135a v: v3 --- [refs] | 2 +- trunk/kernel/sched.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 052cb40fd82a..f05f5259c16c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 62cfe7efc4e6ba44b0903c53f09d37de59160afa +refs/heads/master: bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4 diff --git a/trunk/kernel/sched.c b/trunk/kernel/sched.c index 839466fdfb4c..bc38804e40dd 100644 --- a/trunk/kernel/sched.c +++ b/trunk/kernel/sched.c @@ -5551,13 +5551,15 @@ static void calibrate_migration_costs(const cpumask_t *cpu_map) -1 #endif ); - printk("migration_cost="); - for (distance = 0; distance <= max_distance; distance++) { - if (distance) - printk(","); - printk("%ld", (long)migration_cost[distance] / 1000); + if (system_state == SYSTEM_BOOTING) { + printk("migration_cost="); + for (distance = 0; distance <= max_distance; distance++) { + if (distance) + printk(","); + printk("%ld", (long)migration_cost[distance] / 1000); + } + printk("\n"); } - printk("\n"); j1 = jiffies; if (migration_debug) printk("migration: %ld seconds\n", (j1-j0)/HZ);