I just would like to ask:
Is test_and_clear_bit guaranteed to be atomic on SMP machines? (I
would like to create my own locking from userland - ipc semaphores are
way too slow - and need some atomic operations...)
-- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).