From 13566ed5b586d98064ac06e8f0ec196e8645bfe7 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Wed, 27 Oct 2004 21:07:25 +0000 Subject: [PATCH] Commented out the contribution of 'urgency' to a class's effective priority --- include/linux/ckrm_sched.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/ckrm_sched.h b/include/linux/ckrm_sched.h index 4a06fca0a..3611c2d3e 100644 --- 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; } -- 2.47.0