All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Cc: tim@xen.org, Jintack Lim <jintack@cs.columbia.edu>,
	Jan Beulich <JBeulich@suse.com>,
	stefano.stabellini@eu.citrix.com
Subject: Re: [PATCH v3] xen: arm32: reduce default size of the xenheap
Date: Thu, 19 Feb 2015 18:57:35 +0000	[thread overview]
Message-ID: <54E6321F.4000402@linaro.org> (raw)
In-Reply-To: <1424367594-2880-1-git-send-email-ian.campbell@citrix.com>

Hi Ian,

On 19/02/15 17:39, Ian Campbell wrote:
> ... and make it tunable via the command line.
> 
> 1/8 of RAM is 128M on a 1GB system and 256M on a 2GB system etc,
> which is a lot. 1/32 of RAM seems more reasonable. Also drop the
> minimum to 32M.
> 
> Leave the maximum at 1GB.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

Reviewed-by: Julien Grall <julien.grall@linaro.org>

> Cc: Jintack Lim <jintack@cs.columbia.edu>
> Cc: Jan Beulich <JBeulich@suse.com>
> ---
> v3:
>  - Clarify doc and comments
>  - Enforce new minimum of 32M, not old 128M
>  - Only allocate exact amount if user gives a value, rather than
>    searching for the next smallest power of two we can find.
> v2:
>  - Use xenheap_megabytes as the option, which is what older x86 Xen
>    used.
> 
> I'd like to backport at least the command line option to 4.5. Reducing
> the default heap size is a bit border line but I'm inclined to take
> it.

I'm fine with the backport.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-02-19 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 17:39 [PATCH v3] xen: arm32: reduce default size of the xenheap Ian Campbell
2015-02-19 18:57 ` Julien Grall [this message]
2015-02-25 14:35   ` 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=54E6321F.4000402@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=JBeulich@suse.com \
    --cc=ian.campbell@citrix.com \
    --cc=jintack@cs.columbia.edu \
    --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.