[PATCH V4 3/3] nvme-pci: get rid of the division in the fast path

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Thu Jul 16 22:33:20 EDT 2020


On 7/16/20 19:32, Keith Busch wrote:
>> +	const int last_prp = (NVME_CTRL_PAGE_SIZE >> ilog2(sizeof(__le64))) - 1;
> This is an integer constant expression, so the result is already
> evaluated at compile time.
> 

Okay, we can ignore this patch then.



More information about the Linux-nvme mailing list