xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Jan Beulich <JBeulich@suse.com>, David Vrabel <david.vrabel@citrix.com>
Cc: keir@xen.org, tim@xen.org, ian.jackson@eu.citrix.com,
	ian.campbell@citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH V3 1/1] expand x86 arch_shared_info to support >3 level p2m tree
Date: Tue, 30 Sep 2014 10:59:03 +0200	[thread overview]
Message-ID: <542A70D7.9050702@suse.com> (raw)
In-Reply-To: <542A8B93020000780003AE7B@suse.com>

On 09/30/2014 10:53 AM, Jan Beulich wrote:
>>>> On 09.09.14 at 11:58, <"jgross@suse.com".non-mime.internet> wrote:
>> The x86 struct arch_shared_info field pfn_to_mfn_frame_list_list
>> currently contains the mfn of the top level page frame of the 3 level
>> p2m tree, which is used by the Xen tools during saving and restoring
>> (and live migration) of pv domains. With three levels of the p2m tree
>> it is possible to support up to 512 GB of RAM for a 64 bit pv domain.
>> A 32 bit pv domain can support more, as each memory page can hold 1024
>> instead of 512 entries, leading to a limit of 4 TB. To be able to
>> support more RAM on x86-64 an additional level is to be added.
>>
>> This patch expands struct arch_shared_info with a new p2m tree root
>> and the number of levels of the p2m tree. The new information is
>> indicated by the domain to be valid by storing ~0UL into
>> pfn_to_mfn_frame_list_list (this should be done only if more than
>> three levels are needed, of course).
>>
>> Signed-off-by: Juergen Gross <jgross@suse.com>
>
> Still having this in my to-be-committed-or-otherwise list, David -
> you had reservations here. Did they get addressed by Jürgen?
> Is there any alternative proposal? Or are we setting this aside
> until after 4.5?

David had the alternative proposal to use a virtual mapped linear
mfn_list with the tools doing the translation as needed. I'm just
trying to do this, so please ignore my patch.


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      parent reply	other threads:[~2014-09-30  8:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09  9:58 [PATCH V3 0/1] support >3 level p2m tree Juergen Gross
2014-09-09  9:58 ` [PATCH V3 1/1] expand x86 arch_shared_info to " Juergen Gross
2014-09-09 10:27   ` Andrew Cooper
2014-09-09 10:49     ` Juergen Gross
2014-09-12 10:31       ` Juergen Gross
2014-09-15  8:29         ` Andrew Cooper
2014-09-15  8:52           ` Juergen Gross
2014-09-15  9:42             ` Jan Beulich
2014-09-15  9:48               ` Juergen Gross
2014-09-15  9:44             ` David Vrabel
2014-09-15  9:52               ` Juergen Gross
2014-09-15 10:30                 ` David Vrabel
2014-09-15 10:46                   ` Juergen Gross
2014-09-15 11:29                     ` Jan Beulich
2014-09-15 14:30                     ` David Vrabel
2014-09-16  3:52                       ` Juergen Gross
2014-09-16 10:14                         ` David Vrabel
2014-09-16 10:38                           ` Juergen Gross
2014-09-16 11:56                             ` David Vrabel
2014-09-16 12:44                               ` Juergen Gross
2014-09-17  4:25                                 ` Juergen Gross
2014-09-30  8:53   ` Jan Beulich
     [not found]   ` <542A8B93020000780003AE7B@suse.com>
2014-09-30  8:59     ` Juergen Gross [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542A70D7.9050702@suse.com \
    --to=jgross@suse.com \
    --cc=JBeulich@suse.com \
    --cc=david.vrabel@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).