From: Christoph Egger <Christoph.Egger@amd.com>
To: Tim Deegan <Tim.Deegan@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Dong, Eddie" <eddie.dong@intel.com>
Subject: Re: [PATCH 04/12] Nested Virtualization: core
Date: Fri, 7 Jan 2011 16:56:11 +0100 [thread overview]
Message-ID: <201101071656.13187.Christoph.Egger@amd.com> (raw)
In-Reply-To: <20110107141251.GA5651@whitby.uk.xensource.com>
On Friday 07 January 2011 15:12:51 Tim Deegan wrote:
> At 15:58 +0000 on 03 Jan (1294070335), Christoph Egger wrote:
> > On Monday 27 December 2010 08:54:16 Dong, Eddie wrote:
> > > This is overcomplicated. Static table should serve this much simple and
> > > efficient.
> >
> > The logic to select the right static table will be still needed. I am
> > not sure if removing the _xmalloc() call simplifies this part a lot.
> >
> > I appreciate opinions from other people on this.
>
> I think that you should allocate the three static bitmaps once at boot
> time and not bother refcounting them. It's only 36KiB of overhead for
> the entire host.
>
> Otherwise you'd have to decide what to do if _xmalloc() returned NULL.
I did not want to waste memory in the non-nested-virtualization case
but ok, I will go that way then.
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2011-01-07 15:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 16:05 [PATCH 04/12] Nested Virtualization: core Christoph Egger
2010-12-27 7:54 ` Dong, Eddie
2011-01-03 15:58 ` Christoph Egger
2011-01-06 17:33 ` Dong, Eddie
2011-01-07 10:24 ` Christoph Egger
2011-01-07 20:39 ` Dong, Eddie
2011-01-07 16:31 ` Christoph Egger
2011-01-07 14:12 ` Tim Deegan
2011-01-07 15:56 ` Christoph Egger [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-09 14:23 Christoph Egger
2011-03-29 6:44 ` Dong, Eddie
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=201101071656.13187.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=Tim.Deegan@citrix.com \
--cc=eddie.dong@intel.com \
--cc=xen-devel@lists.xensource.com \
/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.