[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 00 of 12] xenpaging fixes for xen-unstable

  • To: Olaf Hering <olaf@xxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Wed, 08 Jun 2011 17:01:15 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 08 Jun 2011 09:02:48 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=HdaJuZzeZ7yEIJriwDx+6P/xzrz9fasNk03S0nPyTWfgjd5DWxQQQgwOMT2UxlohAZ 77Z1EFzzqQC8GsjLIvc21DgyGW5AKN4DUvqO4Imvjd0vX5xPI4m0s3PbtC3LSAuN6JOH DFpe/ZYnaZ41RFx5sD0DsgTFeLJXAR+STQ8U0=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acwl9UtzQGATNk3Q6UqDmbeKK1QkOA==
  • Thread-topic: [Xen-devel] [PATCH 00 of 12] xenpaging fixes for xen-unstable

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'm taking a look at this. The hard way I describe in the referenced thread
seemed like a mistake when I tried it, so I'll sort out a simpler fix for
the original patch.

 -- 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.