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] Question regarding SLAB corruption

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question regarding SLAB corruption
From: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>
Date: Mon, 9 Jul 2007 20:37:45 +0200
Cc: Roland Dreier <rdreier@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 Jul 2007 11:34:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2B83D37.A8DF%keir@xxxxxxxxxxxxx>
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>
References: <20070709174226.GQ3885@xxxxxxxxxxx> <C2B83D37.A8DF%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Mon, Jul 09, 2007 at 07:29:59PM +0100, Keir Fraser wrote:
> Oh! I take it then that the infiniband driver will call sync_single() on
> subsections of a mapped region? I haven't seen that behaviour before and it
> will kill lib/swiotlb.c (the generic Linux swiotlb implementation) just as
> surely as it does the Xen-specific swiotlb!
> 
> We could make the swiotlb robust to this treatment, I guess. It will involve
> initialising all covered io_tlb_orig_addr[] slots rather than just the
> first. You could even have a go at this yourself if you like: rather than
> initialising a single slot at the end of map_single(), you'd have a for-loop
> to iterate over each allocated swiotlb slab.

Is there a reason why this is not an issue in Dom0?

-- 
Lukáš Hejtmánek

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

<Prev in Thread] Current Thread [Next in Thread>