Re: ordered memory access

Andrea Arcangeli (andrea@suse.de)
Thu, 30 Sep 1999 14:43:03 +0200 (CEST)


On 30 Sep 1999, Jes Sorensen wrote:

>atomic_foo() should be ordered, at least that the idea behind it as

It isn't. Also the atomic_inc/dec and set_bit clear_bit aren't.

Only test_and_*_bit and atomic_dec_and_test enforce ordering between
previous and following code.

Andrea

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