The patch titled sched: don't print migration cost when only 1 CPU has been removed from the -mm tree. Its filename is sched-dont-print-migration-cost-when-only-1-cpu.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: sched: don't print migration cost when only 1 CPU From: Dave Jones <davej@xxxxxxxxxx> If only a single CPU is present, printing this doesn't make much sense. Signed-off-by: Dave Jones <davej@xxxxxxxxxx> Acked-by: Ingo Molnar <mingo@xxxxxxx> Acked-by: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sched.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff -puN kernel/sched.c~sched-dont-print-migration-cost-when-only-1-cpu kernel/sched.c --- a/kernel/sched.c~sched-dont-print-migration-cost-when-only-1-cpu +++ a/kernel/sched.c @@ -5977,13 +5977,15 @@ static void calibrate_migration_costs(co #endif ); 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); + if (num_online_cpus() > 1) { + 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) _ Patches currently in -mm which might be from davej@xxxxxxxxxx are origin.patch remove-silly-messages-from-input-layer.patch forcedeth-hardirq-lockdep-warning.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html