Re: [PATCH v4 04/16] locking/rwsem: Implement a new locking scheme

From: Peter Zijlstra
Date: Tue Apr 16 2019 - 10:18:33 EST


On Tue, Apr 16, 2019 at 09:32:38AM -0400, Waiman Long wrote:
> On 04/16/2019 09:22 AM, Peter Zijlstra wrote:
> > On Sat, Apr 13, 2019 at 01:22:47PM -0400, Waiman Long wrote:
> >> +#define RWSEM_COUNT_LOCKED(c) ((c) & RWSEM_LOCK_MASK)
> > The above doesn't seem to make it more readable or shorter.
>
> Fair enough. I can remove that macro.

I did the same for the HANDOFF patch but seem to have misplaced the
delta and have already refreshed the patch.