[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8412d98-0328-0976-e5f9-5beddc148a35@kernel.dk>
Date:   Fri, 29 May 2020 08:13:34 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     Kaitao Cheng <pilgrimtao@...il.com>, hch@....de, sth@...ux.ibm.com,
        viro@...iv.linux.org.uk, clm@...com, jaegeuk@...nel.org,
        hch@...radead.org, mark@...heh.com, dhowells@...hat.com,
        balbi@...nel.org
Cc:     damien.lemoal@....com, bvanassche@....org, 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,
        hoeppner@...ux.ibm.com, heiko.carstens@...ibm.com,
        gor@...ux.ibm.com, borntraeger@...ibm.com,
        linux-s390@...r.kernel.org, sagi@...mberg.me,
        linux-nvme@...ts.infradead.org, gregkh@...uxfoundation.org,
        linux-usb@...r.kernel.org, josef@...icpanda.com, dsterba@...e.com,
        linux-btrfs@...r.kernel.org, chao@...nel.org,
        linux-f2fs-devel@...ts.sourceforge.net, darrick.wong@...cle.com,
        linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        jlbec@...lplan.org, joseph.qi@...ux.alibaba.com,
        ocfs2-devel@....oracle.com, deepa.kernel@...il.com
Subject: Re: [PATCH v2] blkdev: Replace blksize_bits() with ilog2()
On 5/29/20 8:11 AM, Kaitao Cheng wrote:
> There is a function named ilog2() exist which can replace blksize.
> The generated code will be shorter and more efficient on some
> architecture, such as arm64. And ilog2() can be optimized according
> to different architecture.
When you posted this last time, I said:
"I like the simplification, but do you have any results to back up
 that claim? Is the generated code shorter? Runs faster?"
which you handily ignored, yet sending out a new version. I'm not
going to apply this without justification, your commit message is
handwavy at best.
-- 
Jens Axboe
Powered by blists - more mailing lists