From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: Re: how to handle paged hypercall args? Date: Fri, 3 Dec 2010 10:06:29 +0100 Message-ID: <20101203090629.GB6055@aepfle.de> References: <20101202101122.GA30374@aepfle.de> <4CF782120200007800025663@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <4CF782120200007800025663@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org On Thu, Dec 02, Jan Beulich wrote: > >>> On 02.12.10 at 11:11, Olaf Hering 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