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

From: Venkatesh Srinivas via Virtualization <[email-masked]>
Date: Fri, 4 Dec 2015 12:19:01 -0800

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 <[email-masked]>
> ---

The generated code switches from DIV -> masking, source is clearer as well.

Tested-by: Venkatesh Srinivas <[email-masked]>

-- vs;