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

From: Waiman Long
Date: Tue Apr 16 2019 - 09:32:49 EST


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.

Cheers,
Longman