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

From: Peter Zijlstra
Date: Fri Nov 20 2020 - 09:44:46 EST


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.