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] VP problematic for backend drivers on IA64?

To: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Subject: Re: [Xen-devel] VP problematic for backend drivers on IA64?
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 25 Jan 2006 17:24:56 +0100
Cc: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, okrieg@xxxxxxxxxx
Delivery-date: Wed, 25 Jan 2006 16:33:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060125143732.GE24849@xxxxxxxxxxxxxxxxxxx>
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: <20060120015505.GB8504@xxxxxxxxxxxxxxxxxxx> <43D75311.3040808@xxxxxxx> <20060125143732.GE24849@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20060111)
  Hi,

> I think it's a pretty ugly hack; struct page has a very specific
> meaning in Linux. Minimizing changes in Linux by subverting this
> meaning does not strike me as the right thing to do.

Well, not exactly nice indeed, but any other solution involves touching
all block drivers ...

> at all - Linux is never going to look at the page (kmap it). Having

Depends.  If it's actually DMA'ing directly it doesn't, which should be
true in 99% of all cases.  But there are some corner cases:  If the
block layer needs bounce buffers it will attempt to kmap() the page to
copy the data.  The same is true for drivers which don't DMA (floppy.c
for example).

cheers,

  Gerd

-- 
Gerd 'just married' Hoffmann <kraxel@xxxxxxx>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg

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