Andrea Parri <andrea.parri@xxxxxxxxxxxxxxxxxxxx> wrote: > > Fix this by using atomic_sub_return() instead of two calls. > > Seems a case for atomic_sub_return_relaxed()... why not? Ummm... In that case, should it be atomic_sub_return_release()? David