Re: [PATCH v4 08/16] locking/rwsem: Make rwsem_spin_on_owner() return owner state

From: Peter Zijlstra
Date: Wed Apr 17 2019 - 06:19:41 EST


On Sat, Apr 13, 2019 at 01:22:51PM -0400, Waiman Long wrote:
> In the special case that there is no active lock and the handoff bit
> is set, optimistic spinning has to be stopped.

This makes me think this should've been _before_ you added the handoff
bit. So that when you introduce the handoff, everything is solid.