Re: [PATCH 16/19] workqueue: reimplement workqueue flushing usingcolor coded works

From: Tejun Heo
Date: Fri Dec 04 2009 - 14:43:21 EST


Hello,

On 12/04/2009 08:46 PM, Peter Zijlstra wrote:
> Hmm, a long while back I did a PI aware workqueue implementation, that
> used nested work-lists to implement barriers and flushing.
>
> This colour thing seems very prone to starvation when you want to extend
> worklets with priority.

Can you elaborate how it would be prone to starvation? I was assuming
flat-priority while designing and implementing this as that was the
current behavior and never really thought about priority.

Thanks.

--
tejun
--
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/