From mboxrd@z Thu Jan 1 00:00:00 1970
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111c93,97d3ded662883f7c
X-Google-Attributes: gid111c93,public
X-Google-ArrivalTime: 2001-01-10 16:23:28 PST
Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.mathworks.com!dispose.news.demon.net!demon!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: tez@pierrot.co.uk (Terrance Richard Boyes)
Newsgroups: comp.os.linux.alpha
Subject: Re: weird behavior of malloc()
Date: Thu, 11 Jan 2001 00:09:26 +0000 (GMT)
Organization: Pierrot Computers Ltd
Message-ID: <20010111.000926.9E9801DE.1gaa@pierrot.co.uk>
References: <93iohn$m3c$1@nnrp1.deja.com>
X-Trace: mail2news.demon.co.uk 979171782 mail2news:28661 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!anchor-post-30.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010111.000926 news:1gaa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-Cancel-Lock: TEZT:68b3a9412f3921777e960f349c977857 a06b6818cd08736708ec12f89b2d2be6
X-PGP-Keyfile:
X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D
X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes iQBVAwUBOlz5u0Xush46FMS5AQFghgIAjfrFHAa927BZqbjyvLqxSP2fY+mZLPJ0 +63KsDNud4DVOwNhQxDEOGKGfWnFE6/to28J2HJ6t2MP+iB7oPOWFg== =Afx5
X-NaMLServ: $VER: v0.9b
Xref: supernews.google.com comp.os.linux.alpha:1846
rwgk@my-deja.com wrote:
> System:
> Red Hat Linux release 6.2 (Zoot)
> Kernel 2.2.14-6.0smp on a 2-processor alpha
> On this system, malloc() returns pointers to places in memory that
> are very far apart. For example, one call returns 0x125f77510,
> and the next one 0x20000002010 (the first call only allocates
> 16 bytes or so, the second one about 160000 bytes).
Memory fragmentation. And possibly an attempt to minimise it ?
--
Team AMIGA
An egg has the shortest sex-life of all: if gets laid once; it gets
eaten once. It also has to come in a box with 11 others, and the only
person who will sit on its face is its mother.