lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <516fff59-8465-f36e-1399-e08b22e340af@nvidia.com>
Date:   Wed, 14 Sep 2022 17:17:52 +0000
From:   Chaitanya Kulkarni <chaitanyak@...dia.com>
To:     Pankaj Raghav <p.raghav@...sung.com>, "hch@....de" <hch@....de>,
        "agk@...hat.com" <agk@...hat.com>,
        "damien.lemoal@...nsource.wdc.com" <damien.lemoal@...nsource.wdc.com>,
        "axboe@...nel.dk" <axboe@...nel.dk>,
        "snitzer@...nel.org" <snitzer@...nel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Johannes.Thumshirn@....com" <Johannes.Thumshirn@....com>,
        "linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
        "pankydev8@...il.com" <pankydev8@...il.com>,
        "matias.bjorling@....com" <matias.bjorling@....com>,
        "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
        "bvanassche@....org" <bvanassche@....org>,
        "gost.dev@...sung.com" <gost.dev@...sung.com>,
        "dm-devel@...hat.com" <dm-devel@...hat.com>,
        "hare@...e.de" <hare@...e.de>,
        "jaegeuk@...nel.org" <jaegeuk@...nel.org>,
        Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [PATCH v13 06/13] null_blk: allow zoned devices with non
 power-of-2 zone sizes

On 9/12/2022 1:21 AM, Pankaj Raghav wrote:
> Convert the power-of-2(po2) based calculation with zone size to be generic
> in null_zone_no with optimization for po2 zone sizes.
> 
> The nr_zones calculation in null_init_zoned_dev has been replaced with a
> division without special handling for po2 zone sizes as this function is
> called only during the initialization and will not be invoked in the hot
> path.
> 
> Reviewed-by: Luis Chamberlain <mcgrof@...nel.org>
> Reviewed by: Adam Manzanares <a.manzanares@...sung.com>
> Reviewed-by: Hannes Reinecke <hare@...e.de>
> Reviewed-by: Bart Van Assche <bvanassche@....org>
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>


Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>

-ck


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ