From mint-bounce@lists.fishpool.fi Mon Jan 11 15:06:26 2010 Message-ID: <4B4B8443.10803@online.no> Date: Mon, 11 Jan 2010 21:04:19 +0100 From: Jo Even Skarstein User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] malloc() bug ? References: <4B477F2C.4020503@freesbee.fr> <4B4AF146.7090603@freesbee.fr> <11a6f2b11001110444m665fcc8p11af912c7514686c@mail.gmail.com> <4B4B3333.4050802@atari-source.org> <4B4B344B.1060306@freesbee.fr> <4B4B3B51.9000605@freesbee.fr> <4B4B3CFC.9040504@freesbee.fr> <11a6f2b11001111148v52e53738x3a07c7cc0b0ac061@mail.gmail.com> In-Reply-To: <11a6f2b11001111148v52e53738x3a07c7cc0b0ac061@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Paul Wratt wrote: > as far as I know it is simply because MiNT does not use MiNTlib, its > uses its own internal lib (kernellib ?) Having it's own heap is normal for all stdlib-implementations I've seen. > What is the issue to remap MiNTlib to the kernellib that MiNT uses? kernlib is private to the kernel. Do you mean to have malloc() and friends call the OS for each call? That sounds like a lot of overhead to me. Also, it would most likely cause much more memory fragmentation, which is something we really don't need. Jo Even