From: Matthias Urlichs (urlichs@smurf.sub.org)
Date: 06/08/93


From: urlichs@smurf.sub.org (Matthias Urlichs)
Subject: Re: gcc on linux
Date: 8 Jun 1993 10:16:33 +0200

In comp.os.linux, article <1993Jun7.204515.7634@kf8nh.wariat.org>,
  bsa@kf8nh.wariat.org (Brandon S. Allbery) writes:
>
> You could get by without (2) and (3), but in the former case you would lose
> the ability to analyze it at runtime unless you ran under a debugger and in
> the latter you would potentially not catch references "off the end" of
> allocated memory if it didn't exactly fill a page. I'm not sure if the
> 386/486 lets you "truncate" a 4K page, so (3) may not be possible under Linux.
>
Nothing prevents you from letting the end of a malloc()ed area coincide with
a page boundary, rather than the beginning.

You can't have both, of course, but that just means you'll have to run your
tests twice. ;-)

-- 
Littering is dumb.
               --Ronald Macdonald
-- 
Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/