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

(again) Re: fix residual space in memory block

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: (again) Re: fix residual space in memory block
Date: 2000-07-05 12:19:11
Message-ID: Pine.LNX.3.96.1000705141643.2942B-101000@ara.zf.jcu.cz (view raw or flat)
Thread:
Lists: pgsql-patches

 Ops, I forget attache file :-) Here is it right.


On Wed, 5 Jul 2000, Karel Zak wrote:
> 
> 
>  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 :-)
> 
>  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.
> It is better for memory utilize.
> 
>  For example in block is 112b (residual and in current code never used)
> 
>  first new chunk  64 + 8 (header)
>  second new chunk  32 + 8 (header)
> 
>  Tom, is it right?
> 
> 						Karel
> 

Attachment: aset-07052000.patch.gz
Description: application/x-gzip (798 bytes)

In response to

pgsql-patches by date

Next:From: Jakub Bartosz BieleckiDate: 2000-07-05 12:52:33
Subject: Re: [HACKERS] Re: postgres - development of inet/cidr
Previous:From: Karel ZakDate: 2000-07-05 12:14:36
Subject: fix residual space in memory block

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