summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-08-14 15:38:22 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-08-15 13:37:38 -0400
commit28d9d56f4c7759e1f12e5b1bff60210082812edc (patch)
tree4c3cd398afec30b3e6fdeb249d0f5bd2f9db509a /Documentation/device-mapper
parent7ec910e78d8d61af40592044eb34a8a26afc6e59 (diff)
downloadlinux-stable-28d9d56f4c7759e1f12e5b1bff60210082812edc.tar.gz
linux-stable-28d9d56f4c7759e1f12e5b1bff60210082812edc.tar.bz2
linux-stable-28d9d56f4c7759e1f12e5b1bff60210082812edc.zip
xprtrdma: Remove imul instructions from rpcrdma_convert_iovs()
Re-arrange the pointer arithmetic in rpcrdma_convert_iovs() to eliminate several integer multiplication instructions during Transport Header encoding. Also, array overflow does not occur outside development environments, so replace overflow checking with one spot check at the end. This reduces the number of conditional branches in the common case. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions