Home
last modified time | relevance | path

Searched hist:"4055299 ef0e1c6e4a9b09ce000757b1274129991" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/tcg/
H A Dtcg.h4055299ef0e1c6e4a9b09ce000757b1274129991 Fri Mar 02 09:22:17 UTC 2012 Kirill Batuzov <batuzovk@ispras.ru> Fix large memory chunks allocation with tcg_malloc.

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 can not reuse them.

Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
/qemu/tcg/
H A Dtcg.c4055299ef0e1c6e4a9b09ce000757b1274129991 Fri Mar 02 09:22:17 UTC 2012 Kirill Batuzov <batuzovk@ispras.ru> Fix large memory chunks allocation with tcg_malloc.

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 can not reuse them.

Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>