On 2016/4/26 20:42, Michael S. Tsirkin wrote:
On Tue, Apr 26, 2016 at 04:05:24PM +0800, Zhou Jie wrote:
virtio_net_flush_tx has a huge stack usage of 16392 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Zhou Jie
I don't think it's appropriate for trivial.
Als
On Tue, Apr 26, 2016 at 04:05:24PM +0800, Zhou Jie wrote:
> virtio_net_flush_tx has a huge stack usage of 16392 bytes approx.
> Moving large arrays to heap to reduce stack usage.
>
> Signed-off-by: Zhou Jie
I don't think it's appropriate for trivial.
Also - what's the point, exactly?
> ---
> h
On 2016/4/26 16:49, Christian Borntraeger wrote:
On 04/26/2016 10:05 AM, Zhou Jie wrote:
virtio_net_flush_tx has a huge stack usage of 16392 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Zhou Jie
---
hw/net/virtio-net.c | 15 +++
1 file changed,
On 04/26/2016 10:05 AM, Zhou Jie wrote:
> virtio_net_flush_tx has a huge stack usage of 16392 bytes approx.
> Moving large arrays to heap to reduce stack usage.
>
> Signed-off-by: Zhou Jie
> ---
> hw/net/virtio-net.c | 15 +++
> 1 file changed, 11 insertions(+), 4 deletions(-)
>
> d
virtio_net_flush_tx has a huge stack usage of 16392 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Zhou Jie
---
hw/net/virtio-net.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
inde