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

Re: [Xen-devel] X86 arch_domain ginormous, sizeof(struct domain) already == PAGE_SIZE


  • To: Jan Beulich <JBeulich@xxxxxxxx>
  • From: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
  • Date: Fri, 29 Jan 2016 23:45:59 +0200
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, xen-devel@xxxxxxxxxxxxx
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Fri, 29 Jan 2016 21:46:19 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=tYD71gztefBJoPsW9jhzPJXH5Y1WuZ2ZEBM1PvUyT30q7y9wPyATyKRlZRy5BioZ3hdoc/QX+IVB3Df3bni/nlUpBlkdkAp2VWWaYIFJQWJV2qhRnkrMArEOGxpzT5jd4X6pZTSBM64Z2iELlwJO/md6CVS1ObSxxTLwDd3ZLaaAnbR91Iu9XDny30YjuW4JtrcuGS3t2HmuWDmgbxb3+C46M3Gu8xD05KV9avBK97wQoxpnpcW/YpkMxakOjefApNHxQvJYu4+SjYPSwZsnohWphzAUBuACz3zeekiXxWfK9Ua1CXESg752RK1K4EaqB3MeVxW8MXYtZAqeBw199Q==; h=Received:Received:Received:Received:Received:Subject:To:References:Cc:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On 1/29/2016 7:09 PM, Jan Beulich wrote:
On 29.01.16 at 17:24, <czuzu@xxxxxxxxxxxxxxx> wrote:
One could shrink the domain structure by transforming some of its fields
to pointers, e.g. I could transform the pl_time field into a pointer and
dynamically allocate its data when domain_create is called.
Sounds like a reasonable measure. I wasn't aware we're exactly on
the boundary right now.

Jan

So then would it be ok to go w/ this?
@Andrew you mentioned something about "pulling an optional structure out into an explicit allocation", did you have something specific in mind? Would it be ok to do that for pl_time?

Thanks,
Corneliu.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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