Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b80d5ccc authored by Haiyan Hu's avatar Haiyan Hu Committed by Matthew Wilcox
Browse files

NVMe: Avoid shift operation when writing cq head doorbell



Changes the type of dev->db_stride to unsigned and changes the value
stored there to be 1 << the current value. Then there is less
calculation to be done at completion time.

Signed-off-by: default avatarHaiyan Hu <huhaiyan@huawei.com>
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 2d3c6275
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment