[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] scheduler: Add a #define for the default ratelimit
# HG changeset patch # User George Dunlap <george.dunlap@xxxxxxxxxxxxx> # Date 1329992140 0 # Node ID 8e672cd04864c481beec0fe781463debd30f1492 # Parent 0c91a375f480ffabfba2f87a897ff26b6f4882f7 scheduler: Add a #define for the default ratelimit Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 0c91a375f480 -r 8e672cd04864 xen/common/schedule.c --- a/xen/common/schedule.c Thu Feb 23 10:14:55 2012 +0000 +++ b/xen/common/schedule.c Thu Feb 23 10:15:40 2012 +0000 @@ -50,7 +50,7 @@ /* Default scheduling rate limit: 1ms * The behavior when sched_ratelimit_us is greater than sched_credit_tslice_ms is undefined * */ -int sched_ratelimit_us = 1000; +int sched_ratelimit_us = SCHED_DEFAULT_RATELIMIT_US; integer_param("sched_ratelimit_us", sched_ratelimit_us); /* Various timer handlers. */ static void s_timer_fn(void *unused); diff -r 0c91a375f480 -r 8e672cd04864 xen/include/xen/sched-if.h --- a/xen/include/xen/sched-if.h Thu Feb 23 10:14:55 2012 +0000 +++ b/xen/include/xen/sched-if.h Thu Feb 23 10:15:40 2012 +0000 @@ -18,6 +18,7 @@ /* Scheduler generic parameters * */ +#define SCHED_DEFAULT_RATELIMIT_US 1000 extern int sched_ratelimit_us; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |