From: Wei Liu Subject: Re: [PATCH v5] xenbus_client: extend interface to suppurt multi-page ring Date: Tue, 19 Nov 2013 16:51:15 +0000 Message-ID: <20131119165115.GE13187@zion.uk.xensource.com> References: <1384104089-15958-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VioWG-0001ux-8y for xen-devel@lists.xenproject.org; Tue, 19 Nov 2013 16:51:20 +0000 Content-Disposition: inline In-Reply-To: <1384104089-15958-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Boris Ostrovsky , mattjd@gmail.com, Wei Liu , David Vrabel List-Id: xen-devel@lists.xenproject.org Ping? On Sun, Nov 10, 2013 at 05:21:29PM +0000, Wei Liu wrote: > Originally Xen PV drivers only use single-page ring to pass along > information. This might limit the throughput between frontend and > backend. > > The patch extends Xenbus driver to support multi-page ring, which in > general should improve throughput if ring is the bottleneck. Changes to > various frontend / backend to adapt to the new interface are also > included. > > Affected Xen drivers: > * blkfront/back > * netfront/back > * pcifront/back > * tpmfront > > The interface is documented, as before, in xenbus_client.c. > > Change in V2: > * allow ring has arbitrary number of pages <= XENBUS_MAX_RING_PAGES > > Change in V3: > * update function prototypes > * carefully deal with types of different sizes > > Change in V4: > * use PAGE_KERNEL instead of PAGE_KERNEL_IO to avoid breakage on Arm > > Change in V5: > * fix off-by-one error and other minor glitches spotted by Mathew Daley > > Signed-off-by: Wei Liu > Cc: Konrad Wilk > Cc: David Vrabel > Cc: Boris Ostrovsky