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

Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz)
Mon, 24 Apr 2000 15:13:57 +0200 (CEST)


> Would it be an idea to just "go all the way" then? Make the menu split
> PII and PIII. So far, this doesn't make a difference, but it might in
> the future.

PIII has write barrier (SFENCE) and it should be used. I tried Manfred's
current_state test with sfence and it didn't lock up. Sfence is much
faster than lock.

Mikulas

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