Skip site navigation (1) Skip section navigation (2)

Re: fix residual space in memory block

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Subject: Re: fix residual space in memory block
Date: 2000-07-05 15:03:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Karel Zak <zakkr(at)zf(dot)jcu(dot)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

In response to


pgsql-patches by date

Next:From: Bruce MomjianDate: 2000-07-05 16:18:23
Subject: Re: [PATCHES] Patch for Linux-IA64
Previous:From: Jakub Bartosz BieleckiDate: 2000-07-05 12:52:33
Subject: Re: [HACKERS] Re: postgres - development of inet/cidr

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group