commit | 8d12f88257cd9039d9556585475deb46db055050 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Sat Feb 11 23:02:25 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Feb 14 10:20:35 2017 -0800 |
tree | 6e4b09719c1c7f88285fdd80ed5ea342253bf4de | |
parent | e4165a0fad0963bf8b4a59f54d3360ccb6a6d1ea [diff] |
vmbus: replace modulus operation with subtraction Takes less clock cycles to check for ring wrap and subtract than to do a modulus instruction. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>