WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH-REWORKED] Added xen_is_contiguous_region

To: Jambunathan K <kjambunathan@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH-REWORKED] Added xen_is_contiguous_region
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 14 Apr 2007 07:52:18 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Apr 2007 23:49:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b8e946230704132156t24750613xbd71cf2e8a7f5b0d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd+YXE7r5sCHupUEdueEwAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH-REWORKED] Added xen_is_contiguous_region
User-agent: Microsoft-Entourage/11.3.3.061214


On 14/4/07 05:56, "Jambunathan K" <kjambunathan@xxxxxxxxx> wrote:

> But I had seen a crash in DomU (with no swiotlb) when we try to pci_map_single
> a alloc_skb buffer.
> 
> In Xen-3.0.4, alloc_skb in all probability allocs a contig buffer but
> it wouldn't
> guarantee me the same. With Xen-3.0.5, with bit-width based allocator
> we are much
> more likely to succeed compared to system-wide functions that cater to least
> common denominator.

We stripped out all our own custom alloc_skb code in 3.0.5. Hence
alloc_skb() now will not return contiguous buffers.

 -- Keir




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel