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

From: Mikulas Patocka (
Date: Mon Apr 24 2000 - 08:13:57 EST

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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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