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] Re: how to handle paged hypercall args?

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: how to handle paged hypercall args?
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 3 Dec 2010 10:06:29 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxx>
Delivery-date: Fri, 03 Dec 2010 01:07:15 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1291367202; l=730; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=8UKpwcheO/ooueEYuGPTxyj/zHo=; b=DQ5zfRBh2RrBkkKOCB2YlY0RDphMEhjZ0x5Sm30kgqVnwkjsS9TRVj7d8H29q57C873 tEAksjnP0qROYEXpKc2vRpsq4a8XFtu3PTWjgcQNHuPKV399SPFqpJAlfShI/XyReaFI5 vppXlb7YVJD3EbNm6raaZ1dxZzec1iTvBqA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CF782120200007800025663@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C909B8B7.2817A%keir@xxxxxxx> <C90ACD8F.A6E9%keir@xxxxxxx> <20101202101122.GA30374@xxxxxxxxx> <4CF782120200007800025663@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Dec 02, Jan Beulich wrote:

> >>> On 02.12.10 at 11:11, Olaf Hering <olaf@xxxxxxxxx> wrote:
> > On Thu, Nov 18, Keir Fraser wrote:
> > 
> >> I've done something along these lines now as xen-unstable:22402. It 
> >> actually
> >> seems to work okay! So you can go ahead and use waitqueues in __hvm_copy()
> >> now.
> > 
> > This is my first attempt to do it.
> 
> I didn't look in detail whether that's being done in a non-intuitive
> way elsewhere, but I can't see how the event you're waiting on
> would ever get signaled - wouldn't you need to pass it into
> __hvm_copy() and further down from there?

I was relying on the kind-of wakeup in p2m_mem_paging_resume().

There will be a new patch shortly.

Olaf


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