Mail Archives: djgpp/1996/05/01/14:35:54
> I may be completely Bass-Ackwards, but I thought I read somewhere in the
> docs that for performance reasons, the data is not paged out of memory, but
> is marked as pageable so if the spawned proccess actually needs that much
> memory, it can get it. Am I right?
Actually, nothing is marked as pagable, since it's all pageable by default
unless its marked non-pageable (like interrupt handlers). Since interrupt
handlers may still be called inside the DJGPP image when it spawns, that
memory is still not paged out. Memory from the DJGPP image will only be
paged if the child program needs more DPMI memory than is currently free -
in which case the least recently used pages are paged out (which will
certainly be the parent image).
- Raw text -