Re: [BUG]locking/rwsem: only clean RWSEM_FLAG_HANDOFF when already set

From: Peter Zijlstra
Date: Thu Nov 11 2021 - 14:20:30 EST


On Thu, Nov 11, 2021 at 02:14:48PM -0500, Waiman Long wrote:
> As for the PHASE_CHANGE name, we have to be consistent in both rwsem and
> mutex. Maybe a follow up patch if you think we should change the
> terminology.

Well, that's exactly the point, they do radically different things.
Having the same name for two different things is confusing.

Anyway, let me go read that patch you sent.