qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] BitsSizedTasks-LargeFrames


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] BitsSizedTasks-LargeFrames
Date: Fri, 11 Mar 2016 16:54:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Siddharth,

because you are touching possibly "hot" code paths, it is not possible
to just move the allocation to the heap.  You will have to check whether
the number of used items is low enough and, if not, switch from the
stack-allocated array to the heap.  This way the stack-allocated array
can be made smaller (e.g. 2K).

Thanks,

Paolo

On 11/03/2016 15:50, Siddharth Gupta wrote:
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]