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] [PATCH 12/17] xenpaging: handle HVMCOPY_gfn_paged_out in

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 12/17] xenpaging: handle HVMCOPY_gfn_paged_out in copy_from/to_user
From: Keir Fraser <keir@xxxxxxx>
Date: Wed, 15 Dec 2010 14:08:32 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Dec 2010 06:09:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=IyCFXeJwQp50cprTp8DJQHsrFh4WYoUeqESN6TfGoAs=; b=avmTwUu1OBW2NYVnhGTRbn5jVaBRVkGvDCSwEpQ4E8U9sEUjt78EHSWs1fyxzliWqB 8Wlxx9SntTAUrSVfic46paD5C5eEOIU4SdKVTAy3lG9wSP8hyu71SH27ZTZyViNFzbDw wfadAc218PTVEK5j4FgEThVIYcPbWT2uSYoqw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=XIItxEIFGU5oFPAZv3sxWi2TMTBDI6tCRul8uAKhMekizzZNbCLR5nVwruzshMTVng pv/nUFArPO9QTNr7BQh85hj4l4C0iWuwFFeK88DuH5kcx+OakzKsMPz1+SJmSlx0LWtd YfrnmQ9poUI0I3/9G4x89AhRAD8C9XOjGxlTE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101215135140.GA4236@xxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcucYY4ZyGJ27+4n0UGHc6NG2u9gzw==
Thread-topic: [Xen-devel] [PATCH 12/17] xenpaging: handle HVMCOPY_gfn_paged_out in copy_from/to_user
User-agent: Microsoft-Entourage/12.27.0.100910
On 15/12/2010 13:51, "Olaf Hering" <olaf@xxxxxxxxx> wrote:

>> I think the condition you wait on should be for a response to your paging
>> request. A wake_up() alone is not really sufficient; you need some kind of
>> explicit flagging to the vcpu too. Could the paging daemon stick a response
>> in a shared ring, or otherwise explicitly flag to this vcpu that it's
>> request has been fully satisfied and it's time to wake up and retry its
>> operation? Well, really that's a rhetorical question, because that is
>> exactly what you need to implement for this waitqueue strategy to work
>> properly!
> 
> Yes, there needs to be some reliable event which the vcpu has to pick up.
> I will return to work on this issue, but most likely not this year anymore.

This is all bugfix stuff which can be slipped into 4.1 during feature
freeze. Also, what doesn't get done in time for 4.1.0 can go into 4.1.1
instead, which will likely be 6-8 weeks later.

 -- Keir



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