Re: [Qemu-devel] [PATCH 1/1] Fix large memory chunks allocation with tcg_malloc.

2012-03-17 Thread Blue Swirl
Thanks, applied. On Fri, Mar 2, 2012 at 09:22, Kirill Batuzov wrote: > An attempt to allocate a large memory chunk after a small one resulted in > circular links in list of pools.  It caused the same memory being > allocated twice for different arrays. > > Now pools for large memory chunks are ke

[Qemu-devel] [PATCH 1/1] Fix large memory chunks allocation with tcg_malloc.

2012-03-02 Thread Kirill Batuzov
An attempt to allocate a large memory chunk after a small one resulted in circular links in list of pools. It caused the same memory being allocated twice for different arrays. Now pools for large memory chunks are kept in separate list and are freed during pool reset because current allocator ca