Re: dynamically allocating chunks from shared memory

From: Markus Wanner <markus(at)bluegap(dot)ch>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dynamically allocating chunks from shared memory
Date: 2010-08-09 19:02:33
Message-ID: 4C6050C9.6050802@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/09/2010 08:50 PM, Bruce Momjian wrote:
> You effectively have to add infrastructure to add/remove shared memory
> segments to match memory requests. It is another step, but it is the
> same behavior.

That's of no use without a dynamic allocator, I think. Or else it is a
vague description of a dynamic allocator.

I'm approaching the problem from another perspective: trying to
implement a dynamic allocator on top of a fixed size memory pool, first.
Once we have that, we may start to think about dynamically adding or
removing underlying segments.

Regards

Markus Wanner

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-09 19:05:16 Re: host name support in pg_hba.conf
Previous Message Bruce Momjian 2010-08-09 19:00:20 Re: dynamically allocating chunks from shared memory