RE: [uClinux-dev] RE: [UCLINUX] Old kernel, old argument, new (maybe) point(s)

From: Vadim Lebedev (vlebedev@aplio.fr)
Date: Mon Jul 24 2000 - 05:46:39 EDT


Hi,

I'm attaching modified version of David Beckemeyer,

nalloc code, for inclusion in to ucLibc...

It works pretty well, though i think there is one
psssible optimization: merging adjamced blocks during free and nod during
malloc...


Vadim


|-----Original Message-----
|From: owner-uclinux-dev@uClinux.org
|[mailto:owner-uclinux-dev@uClinux.org]On Behalf Of Vadim Lebedev
|Sent: vendredi 21 juillet 2000 17:03
|To: uclinux-dev@uClinux.org
|Subject: RE: [uClinux-dev] RE: [UCLINUX] Old kernel, old argument, new
|(maybe) point(s)
|
|
|
|David Beckemeyer, wrote
||I implemented the following hack the other afternoon to solve the
||mekory leak problem I mentioned in a separate message.  Perhaps
||this is something like what you describe, but either way I'd like
||peer review since I'm now using this in my libc (so far so good and
||it did resolve the memory leak for my case).
||
|....
|
|
|David, thanks for your code,
|the only thing which is missing is a realloc, which is a little be smarter
|than simple
|malloc, memcpy, and free....
|
|
|Vadim
|
|This message resent by the uclinux-dev@uclinux.org list server
http://www.uClinux.org/


This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:15 EDT