Re: PATCH: two slab-like memory allocators - Mailing list pgsql-hackers

From John Gorman
Subject Re: PATCH: two slab-like memory allocators
Date
Msg-id CALkS6B_=b7i4-TH-8CuDWZ98TZz=zU07F-Z81kKPgg-kKgcwBg@mail.gmail.com
Whole thread Raw
In response to Re: PATCH: two slab-like memory allocators  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List 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 by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Dynamic shared memory areas
Next
From: Dilip Kumar
Date:
Subject: Re: Hash tables in dynamic shared memory