aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-13 10:49:45 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-13 10:49:45 +0100
commit8a61bf3f2f2efe97d9070749574ba16240fe4153 (patch)
treed41a665fecbd190dd0334ca1c5ecba9923cca622 /xen/common/sched_sedf.c
parent1e0419bfeebed828f4ce9c7569010a6cf050f10c (diff)
downloadxen-8a61bf3f2f2efe97d9070749574ba16240fe4153.tar.gz
xen-8a61bf3f2f2efe97d9070749574ba16240fe4153.tar.bz2
xen-8a61bf3f2f2efe97d9070749574ba16240fe4153.zip
Fix broken assertion in SEDF scheduler.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r--xen/common/sched_sedf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index 994ecdfd8e..d4e8895514 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -585,7 +585,7 @@ static void update_queues(
curinf->deadl_abs +=
DIV_UP(now - curinf->deadl_abs,
curinf->period) * curinf->period;
- ASSERT(curinf->deadl_abs > now);
+ ASSERT(curinf->deadl_abs >= now);
/*give a fresh slice*/
curinf->cputime = 0;
if (PERIOD_BEGIN(curinf) > now)