xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xen.org>
To: Jan Beulich <JBeulich@novell.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 6/6] passthrough: use domain pirq as index of struct hvm_irq_dpci's hvm_timer array
Date: Tue, 05 Apr 2011 13:05:38 +0100	[thread overview]
Message-ID: <C9C0C422.2C504%keir@xen.org> (raw)
In-Reply-To: <4D9AEDDA0200007800039F5B@vpn.id2.novell.com>

On 05/04/2011 09:24, "Jan Beulich" <JBeulich@novell.com> wrote:

> Such space saving wouldn't, however, suffice to generally get the
> respective allocation sizes here to below PAGE_SIZE, not even when
> converting the array of structures into an array of pointers to
> structures. Whether a multi-level lookup mechanism would make sense here
> is questionable, as it can be expected that for other than Dom0 (which
> isn't hvm, and hence shouldn't use these data structures - see
> http://lists.xensource.com/archives/html/xen-devel/2011-03/msg02004.html)
> only very few entries would commonly be used here. An obvious alternative
> would be to use rb or radix trees (both currently only used in tmem).

Yes it would be preferable to be using radix trees much more widely.

 -- Keir

      reply	other threads:[~2011-04-05 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05  8:24 [PATCH 6/6] passthrough: use domain pirq as index of struct hvm_irq_dpci's hvm_timer array Jan Beulich
2011-04-05 12:05 ` Keir Fraser [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=C9C0C422.2C504%keir@xen.org \
    --to=keir@xen.org \
    --cc=JBeulich@novell.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).