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

[Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings

To: "Andi Kleen" <andi@xxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings
From: "Dave Airlie" <airlied@xxxxxxxxx>
Date: Sun, 21 Oct 2007 22:17:45 +1000
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, David Chinner <dgc@xxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Morten Bøgeskov <xen-users@xxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Mon, 22 Oct 2007 02:44:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RqDAJp+/DXYvTC8MBj491W3J0T16ImEt/rmH2lQJONI=; b=g5fxl2bzw3+GC1NFIV+r+sKrx/FTFu+wSF84TFx9VP7yM4+JokpNFIQoh2CtzcKNI4XIOWLrFDmgcbTbBHtiQiBKPb89makIwn2lOfnPnkKrigqu4W3FtYXOVQXLJg6FhhK7+9zrwkMiqLBh7Z0rtSqNKRLAQofG2ndhugSHU9U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NekCUqIg6+VSzoWhajB2uoReH63cqrEfkfxVq17yG2uZj4v8FqRDyIEcxRbWZg/VEnWf03y/x644rRmq+nVUCcPiw33ArAkm7OQ3atQ2UYIm5a7B6IJXOjpKj0zAV79ZUs9bCeeNChjTjuEMvtycjh5K9r9+srqhI2CyjlrEHv8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071015125407.GA13329@xxxxxxxxxxxxxxxxxx>
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: <470FA7C3.90404@xxxxxxxx> <200710160056.47458.nickpiggin@xxxxxxxxxxxx> <20071015110735.GA11748@xxxxxxxxxxxxxxxxxx> <200710152128.10900.nickpiggin@xxxxxxxxxxxx> <20071015125407.GA13329@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 10/15/07, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> > Hmm, OK. It looks like DRM vmallocs memory (which gives highmem).
>
> I meant I'm not sure if it uses that memory uncached. I admit
> not quite understanding that code. There used to be at least
> one place where it set UC for an user mapping though.

Currently the only DRM memory handed to userspace is vmalloc_32 in drm_scatter.c

I notice the VIA driver does its own vmalloc for dmablit, so it may
have an issue with this if highmem is involved.

This will change with the upcoming memory manager so I'll need to
investigate it a bit perhaps...

Dave.

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