[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 6/6] passthrough: use domain pirq as index of struct hvm_irq_dpci's hvm_timer array


  • To: Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Tue, 05 Apr 2011 13:05:38 +0100
  • Cc:
  • Delivery-date: Tue, 05 Apr 2011 05:07:50 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=q6LPlQfvZ5SkUSouR7mzDSvPYwEZ74apzZYKA19nwSmtsVyw1LetPEtP5ukDVlRcQ1 JW5PqDSz+kICsfRJwfxNcfUoaYQPnHGI7pig7NC74Y77LWYxsfEdzWQ7Wo1qy7axKwfA IO0I0KXGIVoircfAOEBuGfyz71AxSmOQhvsAQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acvzica0jItniYqPHU66zK5m0Y4XKQ==
  • Thread-topic: [Xen-devel] [PATCH 6/6] passthrough: use domain pirq as index of struct hvm_irq_dpci's hvm_timer array

On 05/04/2011 09:24, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.