[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <714861ac-50aa-465c-c28f-dce7e16d0313@acm.org>
Date: Sat, 23 May 2020 11:33:14 -0700
From: Bart Van Assche <bvanassche@....org>
To: Kaitao Cheng <pilgrimtao@...il.com>, axboe@...nel.dk
Cc: damien.lemoal@....com, ming.lei@...hat.com,
martin.petersen@...cle.com, satyat@...gle.com,
chaitanya.kulkarni@....com, houtao1@...wei.com,
asml.silence@...il.com, ajay.joshi@....com,
linux-kernel@...r.kernel.org, songmuchun@...edance.com
Subject: Re: [PATCH] linux/blkdev.h: Use ilog2() directly in blksize_bits()
On 2020-05-23 08:50, Kaitao Cheng wrote:
> blksize_bits() can be achieved through ilog2(), and ilog2() is
> more efficient.
If Jens agrees, how about removing the blksize_bits() function entirely
and to make all callers use ilog2() instead of blksize_bits()?
Thanks,
Bart.
Powered by blists - more mailing lists