delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/10/11:20:25

Date: Mon, 10 Jan 94 10:58:57 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: 100010 DOT 1702 AT compuserve DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Mail Delivery Subsystem

> The practical thing I want to ask is, is there a way to get go32 to not "go
> virtual", to only make available real memory?

Use the information in <dpmi.h> and <go32.h> to figure out the amount
of available physical memory, and limit yourself to a large fraction
(say, 80%) of that.  You'll still need to access the memory at least
once to ensure that it's paged in the first time, and after that there
will be no need to page it out.  You could also try using the DPMI
"lock pages" call, which will return Not Implemented in non-dpmi, and
an error if there isn't enough physical memory.


- Raw text -


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