All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien@xen.org>
To: Jan Beulich <jbeulich@suse.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Ian Jackson <iwj@xenproject.org>,
	Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>
Subject: Re: [PATCH] gnttab: don't allocate status frame tracking array when "gnttab=max_ver:1"
Date: Wed, 2 Dec 2020 18:31:31 +0000	[thread overview]
Message-ID: <bf921997-fc9a-b1b9-78d9-7a7f85fe4608@xen.org> (raw)
In-Reply-To: <a484cc88-f41d-5d38-d098-4eda297569a1@suse.com>

Hi Jan,

On 05/11/2020 15:55, Jan Beulich wrote:
> This array can be large when many grant frames are permitted; avoid
> allocating it when it's not going to be used anyway. 

Given there are not many users of grant-table v2, would it make sense to 
avoid allocating the array until the guest start using grant-table v2?

Cheers,

-- 
Julien Grall


  parent reply	other threads:[~2020-12-02 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 15:55 [PATCH] gnttab: don't allocate status frame tracking array when "gnttab=max_ver:1" Jan Beulich
2020-11-20 12:50 ` Ping: " Jan Beulich
2020-12-02 18:31 ` Julien Grall [this message]
2020-12-04 10:02   ` Jan Beulich

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=bf921997-fc9a-b1b9-78d9-7a7f85fe4608@xen.org \
    --to=julien@xen.org \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=iwj@xenproject.org \
    --cc=jbeulich@suse.com \
    --cc=sstabellini@kernel.org \
    --cc=wl@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.