[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87d23oo7yu.fsf@rustcorp.com.au>
Date: Wed, 01 Apr 2015 13:44:49 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Cornelia Huck <cornelia.huck@...ibm.com>,
"Michael S. Tsirkin" <mst@...hat.com>
Cc: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH] virtio: drop a useless config read
Cornelia Huck <cornelia.huck@...ibm.com> writes:
> On Tue, 31 Mar 2015 13:55:42 +0200
> "Michael S. Tsirkin" <mst@...hat.com> 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@...hat.com>
>> ---
>> include/linux/virtio_config.h | 1 -
>> 1 file changed, 1 deletion(-)
>
> Reviewed-by: Cornelia Huck <cornelia.huck@...ibm.com>
Applied.
Thanks!
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists