Mail Archives: djgpp/1997/01/14/06:50:32
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 -