From: Ian Campbell <Ian.Campbell@citrix.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: xen-devel@lists.xenproject.org, tim@xen.org,
stefano.stabellini@citrix.com
Subject: Re: [PATCH 2/2] xen/arm: grant-table: Increased the initial number of grant frame to 4
Date: Thu, 15 Jan 2015 15:13:10 +0000 [thread overview]
Message-ID: <1421334790.5437.19.camel@citrix.com> (raw)
In-Reply-To: <1421173041-29870-3-git-send-email-julien.grall@linaro.org>
On Tue, 2015-01-13 at 18:17 +0000, Julien Grall wrote:
> When a domain is created on ARM, the grant table code initialized one
> grant frame. With a basic load (i.e disk usage), Xen is quickly trying
> to expand the number of frames:
>
> (XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (1) to (2) frames.
> (XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (2) to (3) frames.
> (XEN) grant_table.c:311:d0v0 Increased maptrack size to 2 frames
> (XEN) grant_table.c:311:d0v0 Increased maptrack size to 3 frames
>
> The x86 code is initialied 4 frames (I didn't find the exact reason). I
> think we could use the same default value.
>
> Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked + applied.
> ---
> xen/include/asm-arm/grant_table.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/include/asm-arm/grant_table.h b/xen/include/asm-arm/grant_table.h
> index 88ee3c6..5e076cc 100644
> --- a/xen/include/asm-arm/grant_table.h
> +++ b/xen/include/asm-arm/grant_table.h
> @@ -3,7 +3,7 @@
>
> #include <xen/grant_table.h>
>
> -#define INITIAL_NR_GRANT_FRAMES 1
> +#define INITIAL_NR_GRANT_FRAMES 4
>
> void gnttab_clear_flag(unsigned long nr, uint16_t *addr);
> int create_grant_host_mapping(unsigned long gpaddr,
prev parent reply other threads:[~2015-01-15 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 18:17 [PATCH 0/2] xen/arm: Misc for grant-table Julien Grall
2015-01-13 18:17 ` [PATCH 1/2] xen/arm: Remove the define INVALID_GFN from arch-arm/grant_table.h Julien Grall
2015-01-15 15:11 ` Ian Campbell
2015-01-13 18:17 ` [PATCH 2/2] xen/arm: grant-table: Increased the initial number of grant frame to 4 Julien Grall
2015-01-15 15:13 ` Ian Campbell [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=1421334790.5437.19.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.