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 00 of 12] xenpaging fixes for xen-unstable

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 00 of 12] xenpaging fixes for xen-unstable
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 10 Jun 2011 08:28:51 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 10 Jun 2011 00:29:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature: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=DNuTs8cVilKqal2Pg65+kXjxozui1gnI93Ij9b+k6SE=; b=sVXe29Eb8if1RkZvpF1gY+Skd0j9LTj9dhtiAUcVGbgJYEMuZbaNyVUBh/k6RsB1uu jSGrNq0R8hcXhxD4s2u/gwE+TwdvzIaUXwqCICsEK1tRTSGBnZVtx0opKi1PE+tUI4IY vkEs7IuIZO+XcLZ1Dd0Pg3hr4mzjzoKJb8DMM=
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=OSadyMzOcor6KrQmTbwZvkGF+/+Qx5SxmkL4qe930qlJeTzmlTypS3tXinMQnv6GHg bS3ZlheO/Vex9a0KCc4Bo3z4YOcm+g7/Slix2jWsPepBBzkDTYYk5rbil4KnyElwwHSt XHJ/+G8a03fiB8ojq0BPx3f7Z3sPZBaSrnKgA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110607133847.GA15418@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: AcwnQAttPISENyXiLEShZ5oPznxf5g==
Thread-topic: [Xen-devel] [PATCH 00 of 12] xenpaging fixes for xen-unstable
User-agent: Microsoft-Entourage/12.29.0.110113
On 07/06/2011 14:38, "Olaf Hering" <olaf@xxxxxxxxx> wrote:

> On Tue, Jun 07, Keir Fraser wrote:
> 
>> Once they're in, what is left to do? Do you need help with the in-Xen
>> waitqueue stuff? Do you have test cases that fail, a private patch queue,
>> etc?
> 
> Keir,
> 
> I have no new patches, just returned to xenpaging end of last week.
> A few months ago I collected my TODO list below.
> 
> One thing that I would need help with is the machine_to_phys_mapping[]
> handling, an attempt to fix it was reverted before the 4.1 release. See
> the thread in the URL below.

I've reapplied this as xen-unstable:23507.

 -- Keir

> My testcase was a SLES11SP1 pv-on-hvm guest, rebooted in an endless
> loop. That catched all of the issues. With the
> waitqueue/HVMCOPY_gfn_paged_out issue its best to customize the
> xenpaging policy to page the range of gfns were the guest pagetables are
> stored.
> 
> I will send a series of patches to try later.
> 
> Olaf
> 
> 
> Todo:
> - implement xl support
> - implement stopping of xenpaging
> - implement live migration
> - implement config option for XENPAGING_DEBUG and XENPAGING_POLICY_MRU_SIZE
> - implement config option for xenpaging_dir
> - implement better starting gfn in xenpaging policy
>   an initial gfn number in the middle of the gfn range may avoid page-ins
>   during BIOS startup
> - fix machine_to_phys_mapping[] array handling during page deallocation
>   the gfn of a released page must be maintained properly in the array
>   http://lists.xensource.com/archives/html/xen-devel/2011-01/msg00824.html
> - fix HVMCOPY_gfn_paged_out handling
>   some callers of __hvm_copy() do not handle HVMCOPY_gfn_paged_out, such
>   as hypercalls and the MMIO emulation
>   the recently added waitqueue feature in Xen 4.1 should be used
> - remove all retry code from gfn_to_mfn() calls
>   use the waitqueue feature to hide page-in from the caller and cover
>   all cases where a retry is currently missing
> - do not bounce p2mt to xenpaging
>   p2m_mem_paging_populate/p2m_mem_paging_resume dont make use of p2mt
> - cleanup typeof gfn which is passed around in xenpaging
>   unsigned long, uint64_t, xen_pfn_t
> - cleanup return types of functions
>   some functions return 0 unconditionally, could be void
> - remove srand function
> 



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