Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning

From: Peter Zijlstra
Date: Thu Jan 08 2009 - 14:24:01 EST


On Thu, 2009-01-08 at 11:13 -0800, Linus Torvalds wrote:
>
> Well, at least we do unless you enable that broken paravirt support. I'm
> not at all clear on why CONFIG_PARAVIRT wants to use inferior locks, but I
> don't much care.

Because the virtual cpu that has the ticket might not get scheduled for
a while, even though another vcpu with a spinner is scheduled.

The whole (para)virt is a nightmare in that respect.
--
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/