diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2012-02-23 10:15:40 +0000 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2012-02-23 10:15:40 +0000 |
commit | 558ab895129b568e4ff77e5974d5ffadf708e618 (patch) | |
tree | f3514230b7afcaa15caba6b2d83a892dca74d8c7 /xen/common/schedule.c | |
parent | 07f06f76ec5aa7b452603e743f236662e3eb1240 (diff) | |
download | xen-558ab895129b568e4ff77e5974d5ffadf708e618.tar.gz xen-558ab895129b568e4ff77e5974d5ffadf708e618.tar.bz2 xen-558ab895129b568e4ff77e5974d5ffadf708e618.zip |
scheduler: Add a #define for the default ratelimit
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/schedule.c')
-rw-r--r-- | xen/common/schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 3505c8b302..24f89467a1 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -50,7 +50,7 @@ boolean_param("sched_smt_power_savings", 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); |