Re: SMP syncronization on AMD processors (broken?)

From: Andi Kleen
Date: Mon Oct 10 2005 - 20:20:54 EST


On Tuesday 11 October 2005 02:59, Andrew Morton wrote:

> > I'm not advocating for changing spinlock implementation, it's just a
> > thought...
>
> It would make sense in these cases if there was some primitive which we
> could call which says "hey, I expect+want another CPU to grab this lock in
> preference to this CPU".

I just don't know how to implement such a primitive given the guarantees
of the x86 architecture. It might be possible to do something that
works on specific CPUs, but that will likely break later.


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