[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201120144438.GG3040@hirez.programming.kicks-ass.net>
Date: Fri, 20 Nov 2020 15:44:38 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Waiman Long <longman@...hat.com>
Cc: Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dave@...olabs.net>,
Phil Auld <pauld@...hat.com>
Subject: Re: [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.
Powered by blists - more mailing lists