RE: [PATCH] libxl: stop libxl_domain_info() consuming massive amounts of stack

2020-05-28 Thread Paul Durrant
> -Original Message- > From: Ian Jackson > Sent: 28 May 2020 15:57 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Paul Durrant ; Wei > Liu ; Anthony > Perard > Subject: Re: [PATCH] libxl: stop libxl_domain_info() consuming massive > amounts of sta

Re: [PATCH] libxl: stop libxl_domain_info() consuming massive amounts of stack

2020-05-28 Thread Ian Jackson
Paul Durrant writes ("[PATCH] libxl: stop libxl_domain_info() consuming massive amounts of stack"): > From: Paul Durrant > > Currently an array of 1024 xc_domaininfo_t is declared on stack. That alone > consumes ~112k. Wow. > Since libxl_domain_info() creates a new gc this patch simply > uses