Re: [PATCH 2/5] locking/rwsem: Prevent potential lock starvation

From: Waiman Long
Date: Fri Nov 20 2020 - 12:28:25 EST


On 11/20/20 9:44 AM, Peter Zijlstra wrote:
On Tue, Nov 17, 2020 at 10:04:26PM -0500, Waiman Long wrote:
+ long rcnt = (count >> RWSEM_READER_SHIFT); /* Reader count */
I'm thinking you can do without that comment, the variable name is clear
enough.

Sure.

Thanks,
Longman