Thread (3 messages) 3 messages, 3 authors, 2016-09-15

Re: [PATCH] blockgroup_lock.h: simplify definition of NR_BG_LOCKS

From: Theodore Ts'o <tytso@mit.edu>
Date: 2016-09-15 22:30:20
Also in: lkml

On Wed, Sep 14, 2016 at 03:09:30PM -0600, Andreas Dilger wrote:
On Sep 14, 2016, at 1:28 PM, Eric Biggers [off-list ref] wrote:
quoted
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 <redacted>
Reviewed-by: Andreas Dilger <redacted>
Applied, thanks.

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help