Re: [(RT RFC) PATCH v2 1/9] allow rt-mutex lock-stealingtoincludelateral priority

From: Gregory Haskins
Date: Mon Mar 03 2008 - 11:02:22 EST


>>> On Mon, Mar 3, 2008 at 10:55 AM, in message
<Pine.LNX.4.58.0803031051410.19405@xxxxxxxxxxxxxxxxxxx>, Steven Rostedt
<rostedt@xxxxxxxxxxx> wrote:

> On Mon, 3 Mar 2008, Gregory Haskins wrote:
>
>> >>> On Mon, Mar 3, 2008 at 10:13 AM, in message
>> >
>> > See the issue. The RT task on CPU0 may experience huge latencies.
>>
>> Agreed, but equal priority threads can always cause unbounded latencies by
> definition. I.e. we only guarantee to the highest thread.
>
> It should not when they are bounded to two separate CPUs, and are the
> highest priority tasks on those CPUS. That will be hard to explain, how a
> the highest prio tasks bounded to a single CPU had an unbounded latency.
> With the patches presented, this can happen.

Indeed. I see your point. I will make this change in the next revision.

Thanks for the review!
-Greg



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