From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corneliu ZUZU Subject: Re: X86 arch_domain ginormous, sizeof(struct domain) already == PAGE_SIZE Date: Fri, 29 Jan 2016 23:45:59 +0200 Message-ID: <56ABDD97.3060009@bitdefender.com> References: <56AB9232.3050300@bitdefender.com> <56ABAAF302000078000CC864@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <56ABAAF302000078000CC864@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Andrew Cooper , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 1/29/2016 7:09 PM, Jan Beulich wrote: >>>> On 29.01.16 at 17:24, 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.