Making the rw locks recursive, which is required in certain cases.