|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] libxl: stop libxl_domain_info() consuming massive amounts of stack
Paul Durrant writes ("[PATCH v2] libxl: stop libxl_domain_info() consuming
massive amounts of stack"):
> From: Paul Durrant <pdurrant@xxxxxxxxxx>
>
> Currently an array of 1024 xc_domaininfo_t is declared on stack. That alone
> consumes ~112k. Since libxl_domain_info() creates a new gc this patch simply
> uses it to allocate the array instead.
>
> Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
> ---
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Wei Liu <wl@xxxxxxx>
> Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
>
> This is small and IMO it would be nice to have this in 4.14 but I'd like an
> opinion from a maintainer too.
Reviewed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
I agree that this is 4.14 material.
Ian.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |