Thread (5 messages) 5 messages, 5 authors, 2015-12-13

Re: [PATCH v2] vhost: replace % with & on data path

From: Venkatesh Srinivas via Virtualization <hidden>
Date: 2015-12-04 20:19:07
Also in: kvm, lkml, netdev

On Mon, Nov 30, 2015 at 11:15:23AM +0200, Michael S. Tsirkin wrote:
We know vring num is a power of 2, so use &
to mask the high bits.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
The generated code switches from DIV -> masking, source is clearer as well.

Tested-by: Venkatesh Srinivas <redacted>

-- vs;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help