When the pi chain walk returns -EDEADLK, but the waiter was woken up during the phases where the locks were dropped, the rtmutex could beacquired, but due to the stale return value -EDEADLK returned to thecaller.