From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756998AbcIOWaU (ORCPT ); Thu, 15 Sep 2016 18:30:20 -0400 Received: from imap.thunk.org ([74.207.234.97]:57392 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754987AbcIOWaI (ORCPT ); Thu, 15 Sep 2016 18:30:08 -0400 Date: Thu, 15 Sep 2016 18:29:56 -0400 From: "Theodore Ts'o" To: Andreas Dilger Cc: Eric Biggers , linux-ext4 , LKML Subject: Re: [PATCH] blockgroup_lock.h: simplify definition of NR_BG_LOCKS Message-ID: <20160915222956.4ekfwjbwps4a6x2f@thunk.org> Mail-Followup-To: Theodore Ts'o , Andreas Dilger , Eric Biggers , linux-ext4 , LKML References: <1473881320-123184-1-git-send-email-ebiggers@google.com> <3F033C47-E636-42D1-AFCD-FCBCBF795ED4@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F033C47-E636-42D1-AFCD-FCBCBF795ED4@dilger.ca> User-Agent: NeoMutt/ (1.7.0) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 14, 2016 at 03:09:30PM -0600, Andreas Dilger wrote: > On Sep 14, 2016, at 1:28 PM, Eric Biggers wrote: > > > > We can use ilog2() to more easily produce the desired NR_BG_LOCKS. This > > works because ilog2() is evaluated at compile-time when its argument is > > a compile-time constant. > > > > I did not change the chosen NR_BG_LOCKS values. > > > > Signed-off-by: Eric Biggers > > Reviewed-by: Andreas Dilger Applied, thanks. - Ted