diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 06:14:43 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 06:14:43 +0100 |
commit | 3b720b8c865098c49c1570b6b5c7832bcfa6e6c2 (patch) | |
tree | 7580908e53fb78ddc20945075d7f25408a6325fb /net | |
parent | virtio: support unlocked queue kick (diff) | |
download | linux-3b720b8c865098c49c1570b6b5c7832bcfa6e6c2.tar.xz linux-3b720b8c865098c49c1570b6b5c7832bcfa6e6c2.zip |
virtio: avoid modulus operation.
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions