lkml.org 
[lkml]   [2006]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 06:22    [W:0.052 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site