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

From: Andrew Morton
Date: Sat Mar 18 2006 - 00:26:19 EST


Mike Galbraith <efault@xxxxxx> 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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/