Re: fix residual space in memory block - Mailing list pgsql-patches

From Tom Lane
Subject Re: fix residual space in memory block
Date
Msg-id 2307.962809429@sss.pgh.pa.us
Whole thread Raw
In response to fix residual space in memory block  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: fix residual space in memory block
List pgsql-patches
Karel Zak <zakkr@zf.jcu.cz> writes:
>  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 :-)

Right, I was going to ask you for that.  Will apply it.

>  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.

I think that is a waste of cycles.  One chunk will get most of the
problem without much processing work...

            regards, tom lane

pgsql-patches by date:

Previous
From: Reinhard Max
Date:
Subject: Patch for Linux-IA64
Next
From: Bruce Momjian
Date:
Subject: Re: Patch for Linux-IA64