[PATCH] nvme-pci: another 64-bit division for the host memory buffer code
Christoph Hellwig
hch at lst.de
Thu Jun 15 05:10:47 PDT 2017
On Thu, Jun 15, 2017 at 11:55:28AM +0300, Sagi Grimberg wrote:
> This looks fine, but is there a good reason why
> shouldn't DIV_ROUND_UP take care of that instead of you
> open-coding it?
Because it uses a plain division, and Linux on most 32-bit architectures
doesn't support that, as Linus doesn't want the required libgcc helpers
in the kernel.
More information about the Linux-nvme
mailing list