Re: [PATCH] virtio: drop a useless config read

From
Cornelia Huck <hidden>
Date
2015-03-31 13:02:13
Also in
lkml
On Tue, 31 Mar 2015 13:55:42 +0200
"Michael S. Tsirkin" [off-list ref] wrote:
commit d71de9ec6ba806104439d3a669befda84757b5af
    "virtio: core support for config generation"
fixed reading up 64 bit values, adding generation
checks for such reads.

By mistake, it left an explicit get call in place
as well. the result is that the value is read twice,
the first result is discarded.

Not a big deal since this only happens with virtio
blk and only on boot ATM, so performance isn't
affected, but let's clean it up.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/linux/virtio_config.h | 1 -
 1 file changed, 1 deletion(-)
Reviewed-by: Cornelia Huck <redacted>
Thread (2 messages) 2 messages, 2 authors, last reply 2015-04-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help