On Mon, Sep 24, 2018 at 02:00:03PM +0100, Andrew Cooper wrote:
> Variable length arrays result in excess stack utilisation, with a risk
> of stack overflow if the length is too large.  It also results in fairly
> poor asm generation, because of requiring a divide as part of the space
> calcuation.
> 
> Xen no longer has any variable length arrays, so take the opportunity to
> formally disallow them.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Acked-by: Wei Liu <wei.l...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to