delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/14/06:50:32

Date: Tue, 14 Jan 1997 13:31:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bryan |stergaard <bryan AT diku DOT dk>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP <->Linux-GCC - question
In-Reply-To: <Pine.HPP.3.95.970113192808.13116I-100000@embla.diku.dk>
Message-ID: <Pine.SUN.3.91.970114133000.12492D-100000@is>
MIME-Version: 1.0

On Mon, 13 Jan 1997, Bryan |stergaard wrote:

> Nope, this isn't it. Under Linux, as any UNIX I know of, physical memory
> aren't malloc'ed the same way DOS does. For example you should be able
> to alloc 100 megs, allthough you only got 8 mb memory. (physical + swap)
> The actual memory is only mapped in if you use it.

That is exactly what CWSDPMI does on MSDOS.  You can see the big
difference between malloc and calloc when you allocate more memory than is
physically available. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019