Re: [2.6.16-rc6 patch] fix interactive task starvation

Andrew Morton
2006-03-18T05:18:25Z

Mike Galbraith <efault@gmx.de> wrote:
>
> +#define EXPIRED_STARVING(rq) \
> + ((STARVATION_LIMIT && ((rq)->expired_timestamp && \
> + (jiffies - (rq)->expired_timestamp >= \
> + STARVATION_LIMIT * ((rq)->nr_running) + 1))) || \
> + ((rq)->curr->static_prio > (rq)->best_expired_prio))

Does this have to be a macro?