git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63e8104
)
Commented out the contribution of 'urgency' to a class's effective priority
author
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Oct 2004 21:07:25 +0000
(21:07 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Oct 2004 21:07:25 +0000
(21:07 +0000)
include/linux/ckrm_sched.h
patch
|
blob
|
history
diff --git
a/include/linux/ckrm_sched.h
b/include/linux/ckrm_sched.h
index
4a06fca
..
3611c2d
100644
(file)
--- a/
include/linux/ckrm_sched.h
+++ b/
include/linux/ckrm_sched.h
@@
-361,7
+361,11
@@
static inline int get_effective_prio(ckrm_lrq_t * lrq)
int prio;
prio = lrq->local_cvt >> CLASS_QUANTIZER; // cumulative usage
+#ifndef URGENCY_SUPPORT
+#warning "ACB removing urgency calculation from get_effective_prio"
+#else
prio += lrq->top_priority >> PRIORITY_QUANTIZER; // queue urgency
+#endif
return prio;
}