Re: deadlock avoidance?

Davide Libenzi (dlibenzi@maticad.it)
Wed, 8 Dec 1999 20:32:50 +0100


Wednesday, December 08, 1999 8:20 PM
Johannes Erdfelt <jerdfelt@sventech.com> wrote :
> What if only a portion of the 16 bit number has been written before it
> is read? IIRC there are some architectures which this could possibly
> happen on.
>

If :

CPU0 CPU1
A = 0x1111 A = 0x2222

Then A result or 0x1111 or 0x2222, no 0x1122 nor 0x2211 !
This is in every Linux supported architecture.

Cheers,
Davide.

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