From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xen.org, tim@xen.org, stefano.stabellini@eu.citrix.com
Subject: Re: [PATCH v3 8/8] xen: arm: allocate more than one bank for 1:1 domain 0 if needed
Date: Mon, 30 Jun 2014 17:10:53 +0100 [thread overview]
Message-ID: <53B18C0D.8030503@linaro.org> (raw)
In-Reply-To: <1404143906.26896.10.camel@kazak.uk.xensource.com>
Hi Ian,
On 06/30/2014 04:58 PM, Ian Campbell wrote:
> On Fri, 2014-06-27 at 14:09 +0100, Ian Campbell wrote:
>> On Fri, 2014-06-27 at 14:04 +0100, Julien Grall wrote:
>>>
>>> On 27/06/14 14:01, Ian Campbell wrote:
>>>>> Futhermore, it looks like we always allocate memory from the top of this
>>>>> zone. Is it normal?
>>>>
>>>> Normal behaviour is to allocate from as high as possible so I'm not
>>>> surprised that applies with a zone as well.
>>>
>>> For DOM0 bank allocation, shouldn't we try to allocate as lower as
>>> possible? If not, we may not be able to create a second bank for dom0.
>>
>> The loop over bits is supposed to help there, but it's not as effective
>> with higher addresses I suppose.
>>
>> We'd need a new flag fore the allocate. Which is doable I guess. I'll
>> give it a try.
>
> It's a bit tricky and involves messing with the guts of the page
> allocator, which I'd rather avoid...
>
> We do allow allocations to be merged onto the start of bank 0, which in
> the normal case is what I would expect to happen, although it isn't
> guaranteed. In that case we would try higher addresses and might find
> enough RAM there.
>
> I suppose I could relax the constraint a bit and allow new banks in
> front of bank zero if they were >= 128MB (say).
So, replacing the bank zero by the new bank, right? IIRC, some Linux
version are requiring the bank to be ordered.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-06-30 16:10 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 10:16 [PATCH v3 0/8] xen: arm: Use super pages in p2m Ian Campbell
2014-06-26 10:17 ` [PATCH v3 1/8] xen: arm: dump vcpu gic info in arch_dump_vcpu_info Ian Campbell
2014-06-26 10:17 ` [PATCH v3 2/8] tools/libxc: pull min/max_t into xc_private.h Ian Campbell
2014-06-26 10:34 ` Ian Jackson
2014-06-26 10:17 ` [PATCH v3 3/8] tools: arm: allocate large pages to guests Ian Campbell
2014-06-26 10:17 ` [PATCH v3 4/8] xen: arm: only put_page for p2m operations which require it Ian Campbell
2014-06-26 10:17 ` [PATCH v3 5/8] xen: arm: handle superpage mappings in p2m_lookup Ian Campbell
2014-06-26 10:17 ` [PATCH v3 6/8] xen: arm: add some helpers for assessing p2m pte Ian Campbell
2014-06-26 15:07 ` Julien Grall
2014-06-26 10:17 ` [PATCH v3 7/8] xen: arm: use superpages in p2m when pages are suitably aligned Ian Campbell
2014-06-26 15:16 ` Julien Grall
2014-06-26 10:17 ` [PATCH v3 8/8] xen: arm: allocate more than one bank for 1:1 domain 0 if needed Ian Campbell
2014-06-26 18:20 ` Julien Grall
2014-06-27 9:24 ` Ian Campbell
2014-06-27 10:31 ` Julien Grall
2014-06-27 11:54 ` Julien Grall
2014-06-27 12:52 ` Julien Grall
2014-06-27 13:01 ` Ian Campbell
2014-06-27 13:04 ` Julien Grall
2014-06-27 13:09 ` Ian Campbell
2014-06-30 15:58 ` Ian Campbell
2014-06-30 16:10 ` Julien Grall [this message]
2014-06-30 16:14 ` Ian Campbell
2014-06-30 16:20 ` Julien Grall
2014-06-30 16:27 ` Ian Campbell
2014-06-30 16:29 ` Julien Grall
2014-06-30 16:31 ` Ian Campbell
2014-06-26 15:03 ` [PATCH v3 0/8] xen: arm: Use super pages in p2m Julien Grall
2014-06-30 15:44 ` Ian Campbell
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=53B18C0D.8030503@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.