Re: [ANNOUNCE] 3.2.9-rt17

From: Steven Rostedt
Date: Thu Mar 08 2012 - 16:25:44 EST


On Thu, 2012-03-08 at 22:20 +0100, Peter Zijlstra wrote:

> Now put the thing on 2 cpus and both tasks can endlessly chase each
> other's tail, no?

How would this be different than what mainline does? When the lock is
released, it will wake up the other task.

> The yield will be useless there..

If there's no task with the same priority, it should be a nop. I don't
see anything wrong with it.

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