[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2 of 9] xen: Add a #define for the default ratelimit
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> diff -r 6d6667ea47ed -r efd21e08e0fd xen/common/schedule.c --- a/xen/common/schedule.c Wed Feb 22 16:08:28 2012 +0000 +++ b/xen/common/schedule.c Wed Feb 22 16:08:28 2012 +0000 @@ -50,7 +50,7 @@ boolean_param("sched_smt_power_savings", /* 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 6d6667ea47ed -r efd21e08e0fd xen/include/xen/sched-if.h --- a/xen/include/xen/sched-if.h Wed Feb 22 16:08:28 2012 +0000 +++ b/xen/include/xen/sched-if.h Wed Feb 22 16:08:28 2012 +0000 @@ -18,6 +18,7 @@ extern cpumask_t cpupool_free_cpus; /* Scheduler generic parameters * */ +#define SCHED_DEFAULT_RATELIMIT_US 1000 extern int sched_ratelimit_us; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |