fix residual space in memory block

Поиск
Список
Период
Сортировка
От Karel Zak
Тема fix residual space in memory block
Дата
Msg-id Pine.LNX.3.96.1000705140110.2942A-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответы (again) Re: fix residual space in memory block
Re: fix residual space in memory block
Список pgsql-patches

 Here is the patch that create from residual space in memory block new free
chunks. We already discussed about it during 7.0. --- I owe this patch :-)

 My previous implementation create _one_ chunk only. Now I implement it
in do{}while, and if residual space is large, it create more free chunks.
It is better for memory utilize.

 For example in block is 112b (residual and in current code never used)

 first new chunk  64 + 8 (header)
 second new chunk  32 + 8 (header)

 Tom, is it right?

                        Karel


В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [HACKERS] Statistical aggregates
Следующее
От: Karel Zak
Дата:
Сообщение: (again) Re: fix residual space in memory block