Re: Reducing the chunk header sizes on all memory context types

Поиск
Список
Период
Сортировка
Искать
От
David Rowley
Тема
Re: Reducing the chunk header sizes on all memory context types
Дата
Msg-id
CAApHDvoUHfEOeA1kDjetZnOtTQz=bLROa1UXy-VLCxVRADLprA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: Reducing the chunk header sizes on all memory context types Ranier Vilela <ranier.vf@gmail.com>
Re: Reducing the chunk header sizes on all memory context types David Rowley <dgrowleyml@gmail.com>
Re: Reducing the chunk header sizes on all memory context types Ranier Vilela <ranier.vf@gmail.com>
Re: Reducing the chunk header sizes on all memory context types Ranier Vilela <ranier.vf@gmail.com>
On Tue, 30 Aug 2022 at 03:43, Tom Lane  wrote:
> I think adding a padding field to SlabBlock would be a less messy
> solution than your patch.

Thank you both of you for looking at this while I was sleeping.

I've read over the emails and glanced at Tomas' patch. I think that
seems good. I think I'd rather see us do that than pad the struct out
further as Tomas' method is more aligned to what we do in aset.c
(ALLOC_BLOCKHDRSZ) and generation.c (Generation_BLOCKHDRSZ).

I can adjust Tomas' patch to #define Slab_BLOCKHDRSZ

David


В списке pgsql-hackers по дате отправления
От: Nikita Glukhov
Дата:
Сообщение: Re: SQL/JSON features for v15
От: Tom Lane
Дата:
FAQ