Re: PATCH: two slab-like memory allocators

Поиск
Список
Период
Сортировка
От John Gorman
Тема Re: PATCH: two slab-like memory allocators
Дата
Msg-id CALkS6B_=b7i4-TH-8CuDWZ98TZz=zU07F-Z81kKPgg-kKgcwBg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PATCH: two slab-like memory allocators  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers


On Tue, Oct 4, 2016 at 10:11 PM, Tomas Vondra 

For GenSlab the situation is less clear, as there probably are ways to make it work, but I'd vote to keep it simple for now, and simply do elog(ERROR) in the realloc() methods - both for Slab and GenSlab. The current use case (reorderbuffer) does not need that, and it seems like a can of worms to me.

Good plan. Realloc can be added later if there is an actual use case. 

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