[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: sched_sedf: remove an unused stat in SEDF


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Wed, 24 Oct 2012 05:00:20 +0000
  • Delivery-date: Wed, 24 Oct 2012 05:00:47 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Dario Faggioli <dario.faggioli@xxxxxxxxxx>
# Date 1350991310 25200
# Node ID 07cf00a917cd1d1849f3e40d5b8ecc2cd8964fe8
# Parent  4ae12a96ec697f942600a78057bcb567f3312dca
xen: sched_sedf: remove an unused stat in SEDF

Namely, `short_cont' which is not updated anywhere in the code.

Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 4ae12a96ec69 -r 07cf00a917cd xen/common/sched_sedf.c
--- a/xen/common/sched_sedf.c   Tue Oct 23 04:18:22 2012 -0700
+++ b/xen/common/sched_sedf.c   Tue Oct 23 04:21:50 2012 -0700
@@ -97,7 +97,6 @@ struct sedf_vcpu_info {
     int   block_tot;
     int   short_block_tot;
     int   long_block_tot;
-    int   short_cont;
     int   pen_extra_blocks;
     int   pen_extra_slices;
 #endif
@@ -1201,12 +1200,10 @@ static void sedf_dump_domain(struct vcpu
         printk(" pen=%"PRIu64"%%", (EDOM_INFO(d)->penalty_time_tot * 100) /
                EDOM_INFO(d)->block_time_tot);
     if ( EDOM_INFO(d)->block_tot != 0 )
-        printk("\n   blks=%u sh=%u (%u%%) (shc=%u (%u%%) shex=%i "\
+        printk("\n   blks=%u sh=%u (%u%%) (shex=%i "\
                "shexsl=%i) l=%u (%u%%) avg: b=%"PRIu64" p=%"PRIu64"",
                EDOM_INFO(d)->block_tot, EDOM_INFO(d)->short_block_tot,
-               (EDOM_INFO(d)->short_block_tot * 100) 
-               / EDOM_INFO(d)->block_tot, EDOM_INFO(d)->short_cont,
-               (EDOM_INFO(d)->short_cont * 100) / EDOM_INFO(d)->block_tot,
+               (EDOM_INFO(d)->short_block_tot * 100) / EDOM_INFO(d)->block_tot,
                EDOM_INFO(d)->pen_extra_blocks,
                EDOM_INFO(d)->pen_extra_slices,
                EDOM_INFO(d)->long_block_tot,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.