All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] static symbols in credit2
@ 2015-01-14 17:00 Uma Sharma
  2015-01-20 14:13 ` Dario Faggioli
  2015-01-21 14:45 ` George Dunlap
  0 siblings, 2 replies; 5+ messages in thread
From: Uma Sharma @ 2015-01-14 17:00 UTC (permalink / raw)
  To: xen-devel

Changing param varibales in sched_credit2.c as static where required.

Signed-off-by: Uma Sharma <uma.sharma523@gmail.com>

---
diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c
index 1ca521b..9dd8e84 100644
--- a/xen/common/sched_credit2.c
+++ b/xen/common/sched_credit2.c
@@ -163,7 +163,7 @@
 #define CSFLAG_runq_migrate_request (1<<__CSFLAG_runq_migrate_request)
 
 
-int opt_migrate_resist=500;
+static int opt_migrate_resist = 500;
 integer_param("sched_credit2_migrate_resist", opt_migrate_resist);
 
 /*
@@ -186,12 +186,12 @@ integer_param("sched_credit2_migrate_resist", opt_migrate_resist);
  *   to a load of 1.
  */
 #define LOADAVG_GRANULARITY_SHIFT (10)
-int opt_load_window_shift=18;
+static int opt_load_window_shift = 18;
 #define  LOADAVG_WINDOW_SHIFT_MIN 4
 integer_param("credit2_load_window_shift", opt_load_window_shift);
-int opt_underload_balance_tolerance=0;
+static int opt_underload_balance_tolerance = 0;
 integer_param("credit2_balance_under", opt_underload_balance_tolerance);
-int opt_overload_balance_tolerance=-3;
+static int opt_overload_balance_tolerance = -3;
 integer_param("credit2_balance_over", opt_overload_balance_tolerance);
 
 /*

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-22 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 17:00 [Patch] static symbols in credit2 Uma Sharma
2015-01-20 14:13 ` Dario Faggioli
2015-01-21 14:45 ` George Dunlap
2015-01-22  9:58   ` Uma Sharma
2015-01-22 14:45     ` Uma Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.