This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: malloc
- To: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Subject: Re: [ECOS] malloc
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Sat, 03 Feb 2001 03:49:29 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- References: <4.3.2.7.2.20010201142717.00ab96e0@larwe.com>
"Lewin A.R.W. Edwards" wrote:
>
> Quick question: Does anyone here (using 1.3.1) have problems using malloc?
>
> I'm using the Cirrus 7212 and malloc seems to be very random in behavior -
> sometimes it will succeed on a few allocations and then fail on one more.
> Then, it will succeed on some (larger!) allocations in the same session.
I found some problems in the memory allocator a while back and fixed them.
Alas I also redesigned the memory allocation system at the same time, so it
wouldn't be easy to backport the patches, although you could maybe try -
the new version is in anonymous CVS under services/memalloc/common
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
- References:
- malloc
- From: Lewin A.R.W. Edwards