lkml.org 
[lkml]   [2006]   [Mar]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 17 Mar 2006 21:15:29 -0800
FromAndrew Morton <>
SubjectRe: [2.6.16-rc6 patch] fix interactive task starvation
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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-18 05:22    [from the cache]
©2003-2008