Mail Archives: djgpp-workers/1997/11/12/07:46:30
On Wed, 12 Nov 1997, Tom Demmer wrote:
> > - Blocks allocated at the same time, should be allocated 'close'
> > together, although that rule is mutually exclusive with the previous on
> > many occasions.
>
> In DJGPP, what exactly does `close' mean? In terms of linear address
> space, or in terms of physical address?
Linear, if at all. You don't have any control on the physical addresses,
and they can change on a whim of the DPMI host or the OS (such as
Windows).
> Anyway, I didn't
> notice any change when calling sbrk() with a negative argument, but maybe I'm
> not searching enough.
AFAIK, our `sbrk' doesn't release memory when called with a negative
argument.
- Raw text -