Re: [PATCH V3] rtmutex: ensure only the top waiter or higherpriority task can take the lock and remove unrelated boosting

From: Steven Rostedt
Date: Wed Jan 12 2011 - 12:04:32 EST


On Wed, 2011-01-12 at 12:03 -0500, Steven Rostedt wrote:
> On Thu, 2010-12-23 at 16:49 +0800, Lai Jiangshan wrote:
> > In current rtmutex, the pending owner may be boosted by the tasks
> > in the rtmutex's waitlist when the pending owner is deboosted
> > or a task in the waitlist is boosted. This boosting is unrelated,
> > because the pending owner does not really take the rtmutex.
> > It is not reasonable.
>
> Hi Lai,
>
> Your patch looks like it is proving itself in -rt (after I fixed a bunch
> of -rt stuff to get your stuff working ;).
>
> Could you repost your patch with the following removed:

Oh, and you can add:

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Thanks!

-- Steve


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