[PATCH] nvme-pci: avoid 64-bit divisions in the HMB code

Max Gurtovoy maxg at mellanox.com
Tue Jun 6 05:08:09 PDT 2017



On 6/6/2017 12:54 PM, Christoph Hellwig wrote:
> [to be folded into "nvme-pci: implement host memory buffer support"]
>
> Avoid 64-bit division by using shifts instead.  All involved sizez are

small type: sizez --> sizes

> powers of two.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good,
Reviewed-by: Max Gurtovoy <maxg at mellanox.com>



More information about the Linux-nvme mailing list