[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160915222956.4ekfwjbwps4a6x2f@thunk.org>
Date: Thu, 15 Sep 2016 18:29:56 -0400
From: Theodore Ts'o <tytso@....edu>
To: Andreas Dilger <adilger@...ger.ca>
Cc: Eric Biggers <ebiggers@...gle.com>,
linux-ext4 <linux-ext4@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] blockgroup_lock.h: simplify definition of NR_BG_LOCKS
On Wed, Sep 14, 2016 at 03:09:30PM -0600, Andreas Dilger wrote:
> On Sep 14, 2016, at 1:28 PM, Eric Biggers <ebiggers@...gle.com> 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 <ebiggers@...gle.com>
>
> Reviewed-by: Andreas Dilger <adilger@...ger.ca>
Applied, thanks.
- Ted
Powered by blists - more mailing lists