>I think this is an undesirable philosophy. Atomic and non-atomic
>operations should both be available, and the calling code should use the
test_and_set_bit() not atomic is something like:
unsigned int foo;
if (!(foo & 0x1))
{
foo |= 0x1;
critical section here;
foo &= ~0x1;
}
Andrea[s] Arcangeli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu