lkml.org 
[lkml]   [2020]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] locking/rwsem: Prevent potential lock starvation
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.

\
 
 \ /
  Last update: 2020-11-20 15:46    [W:0.126 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site