From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757825Ab0EROUU (ORCPT ); Tue, 18 May 2010 10:20:20 -0400 Received: from ozlabs.org ([203.10.76.45]:45892 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757316Ab0EROUR (ORCPT ); Tue, 18 May 2010 10:20:17 -0400 From: Rusty Russell To: "Michael S. Tsirkin" Subject: Re: [PATCH] virtio: put last seen used index into ring itself Date: Tue, 18 May 2010 17:11:07 +0930 User-Agent: KMail/1.13.2 (Linux/2.6.32-21-generic; KDE/4.4.2; i686; ; ) Cc: Jiri Pirko , Shirley Ma , Amit Shah , Mark McLoughlin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, quintela@redhat.com, alex.williamson@redhat.com References: <20100518004744.GA21359@redhat.com> In-Reply-To: <20100518004744.GA21359@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005181711.08128.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 May 2010 10:17:44 am Michael S. Tsirkin wrote: > Generally, the Host end of the virtio ring doesn't need to see where > Guest is up to in consuming the ring. However, to completely understand > what's going on from the outside, this information must be exposed. > For example, host can reduce the number of interrupts by detecting > that the guest is currently handling previous buffers. Thanks applied. Cheers, Rusty.