From: Andy Bavier Date: Wed, 27 Oct 2004 21:07:25 +0000 (+0000) Subject: Commented out the contribution of 'urgency' to a class's effective priority X-Git-Tag: before-enable-kexec-patch~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=13566ed5b586d98064ac06e8f0ec196e8645bfe7;p=linux-2.6.git Commented out the contribution of 'urgency' to a class's effective priority --- 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; }