Re: [Qemu-devel] [PATCH v4] socket: Allocating Large sized arrays to heap

2016-03-19 Thread Jaya Tiwari
On Fri, Mar 18, 2016 at 5:21 PM, Paolo Bonzini wrote: > > > On 18/03/2016 12:24, Pooja Dhannawat wrote: > > > > > > On Fri, Mar 18, 2016 at 4:20 AM, Paolo Bonzini > > wrote: > > > > > > > > On 17/03/2016 16:31, Pooja Dhannawat wrote: > > > > > > > > >

Re: [Qemu-devel] [PATCH v4] socket: Allocating Large sized arrays to heap

2016-03-18 Thread Jaya Tiwari
On Fri, Mar 18, 2016 at 6:57 PM, Jaya Tiwari wrote: > > > On Fri, Mar 18, 2016 at 5:21 PM, Paolo Bonzini > wrote: > >> >> >> On 18/03/2016 12:24, Pooja Dhannawat wrote: >> > >> > >> > On Fri, Mar 18, 2016 at 4:

Re: [Qemu-devel] [PATCH V2 1/1] virtio:Allocate temporary VirtQueueElementOld on heap

2016-03-15 Thread Jaya Tiwari
On Tue, Mar 15, 2016 at 12:32 PM, Michael S. Tsirkin wrote: > On Mon, Mar 14, 2016 at 09:10:15PM +0530, Jaya Tiwari wrote: > > As per the list of functions in : > > http://wiki.qemu.org/BiteSizedTasks#Large_frames, > > qemu_get_virtqueue_element and qemu_put_virtqueue_e

[Qemu-devel] [PATCH V2 1/1] virtio:Allocate temporary VirtQueueElementOld on heap

2016-03-14 Thread Jaya Tiwari
As per the list of functions in : http://wiki.qemu.org/BiteSizedTasks#Large_frames, qemu_get_virtqueue_element and qemu_put_virtqueue_element have large arrays on stack. Hence, moving them to heap This reduced their stack size from something 49248 to fit into less than 200. Signed-off-by: Jaya

[Qemu-devel] [PATCH 1/1] Allocating Large sized arrays to heap

2016-03-11 Thread Jaya Tiwari
As per the list of functions in http://wiki.qemu.org/BiteSizedTasks#Large_frames, qemu_get_virtqueue_element and qemu_put_virtqueue_element have large arrays on stack Hence, moving them to heap. This reduced their stack size from something 49248 to fit into less than 200 Signed-off-by: Jaya