delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/30/16:00:43

Date: Tue, 30 Aug 94 14:00:59 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: dolan AT fnoc DOT navy DOT mil
Cc: babcock AT cfa DOT harvard DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: bugs in exec.c et al

> > ..., except that DJ says it isn't supposed to work this way;
> > _go32_dpmi_remaining_physical_memory() is supposed to track
> > allocations.
> 
> Huh?  If the allocation only effectively allocates virtual memory, then
> a function named ...remaining_physical_memory should ignore anything
> that is not yet occupying physical memory.  Anything else would disobey
> the principle of least astonishment.

Now *I* am confused.  The original intent of this function was to see
how much space one could alloc before swapping happened.  What's the
best definition for this after swapping everything out for a spawn?
What *should* it mean?

DJ


- Raw text -


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