Re: [patch] i386: make bitops safe

From: Andi Kleen
Date: Mon Feb 27 2006 - 20:20:27 EST


On Tuesday 28 February 2006 01:54, Richard Henderson wrote:

> I think the best argument for simply leaving things with a memory
> clobber is that these are atomic operations, and are on occasion
> used as locks, or parts of locks.

How about __set_bit? It is supposed to be not atomic. What would
be best there?

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