wait_on_atomic_t - Wait for an atomic_t to become 0
int wait_on_atomic_t(atomic_t * val, int (*action) (atomic_t *), unsigned mode);
Wait for an atomic_t to become 0. We abuse the bit-wait waitqueue table for the purpose of getting a waitqueue, but we set the key to a bit number outside of the target 'word'.
|January 2017||Kernel Hackers Manual 4.8.|