Re: "movb" for spin-unlock (was Re: namei() query)

From: Jakob Østergaard (jakob@ostenfeld.dk)
Date: Mon Apr 24 2000 - 18:36:46 EST


On Mon, 24 Apr 2000, Johan Kullstam wrote:

> Oliver Xymoron <oxymoron@waste.org> writes:
>
[snip]
> >
> > Probably not necessary. The only test results that suggest there's a
> > problem were invalid (a thinko on my part). The manfred.c I posted should
> > break on _all_ dual x86 systems. I've got a dozen confirmations for my new
> > test, but I'm still waiting for some early PPro stepping results (still
> > need 1, 2, and 6).
> >
> > http://waste.org/~oxymoron/movb.c
>
> it's not 1 2 or 6, but everything works fine here on a quad ppro with
> step 9.

Well I already mailed Oliver, but in case someone else wants to know
right away: The new test did *not* lock up on my stepping 1 dual PPro.

Using movb gave something like a 6% speed increase in the test, in case
that tells anyone anything :)

-- 
................................................................
: jakob@ostenfeld.dtu.dk  : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST