rpms/kernel/devel linux-2.6-sched-up-migration-cost.patch,1.1,1.2
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Apr 24 23:33:55 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23078
Modified Files:
linux-2.6-sched-up-migration-cost.patch
Log Message:
fix bogon.
linux-2.6-sched-up-migration-cost.patch:
sched.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
Index: linux-2.6-sched-up-migration-cost.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-sched-up-migration-cost.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6-sched-up-migration-cost.patch 12 Feb 2006 23:59:49 -0000 1.1
+++ linux-2.6-sched-up-migration-cost.patch 24 Apr 2006 23:33:41 -0000 1.2
@@ -1,12 +1,24 @@
---- linux-2.6/kernel/sched.c~ 2006-02-10 17:15:29.000000000 -0500
-+++ linux-2.6/kernel/sched.c 2006-02-10 17:18:19.000000000 -0500
-@@ -5459,7 +5459,8 @@ static void calibrate_migration_costs(co
+--- linux-2.6.16.noarch/kernel/sched.c~ 2006-04-24 19:30:13.000000000 -0400
++++ linux-2.6.16.noarch/kernel/sched.c 2006-04-24 19:32:49.000000000 -0400
+@@ -5518,13 +5518,15 @@ static void calibrate_migration_costs(co
#endif
);
if (system_state == SYSTEM_BOOTING) {
- printk("migration_cost=");
-+ if (num_online_cpus() > 1)
+- 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(",");
++ 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)
More information about the fedora-cvs-commits
mailing list