[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51FA3428.9020403@citrix.com>
Date: Thu, 1 Aug 2013 11:10:48 +0100
From: David Vrabel <david.vrabel@...rix.com>
To: Roger Pau Monne <roger.pau@...rix.com>
CC: <xen-devel@...ts.xen.org>, <linux-kernel@...r.kernel.org>,
David Vrabel <david.vrabel@...rix.com>
Subject: Re: [Xen-devel] [PATCH 2/3] xen-blkfront: improve aproximation of
required grants per request
On 31/07/13 16:00, Roger Pau Monne wrote:
> Improve the calculation of required grants to process a request by
> using nr_phys_segments instead of always assuming a request is going
> to use all posible segments.
>
> nr_phys_segments contains the number of scatter-gather DMA addr+len
> pairs, which is basically what we put at every granted page.
> for_each_sg iterates over the DMA addr+len pairs and uses a grant
> page for each of them.
Reviewed-by: David Vrabel <david.vrabel@...rix.com>
David
--
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