Hello Linda,
09 Nov 99 22:37, Peter Knapper wrote to Linda Proulx:
PK> Actually its even more intelligent than that, if the memory being
PK> swapped out is part of an EXE file that never actually changes while
PK> it is in memory, it doesn't really swap it out, it marks the PAGE as
PK> being swapped and then continues, but when it needs that PAGE in
PK> again, it just loads it directly from the image it stored in the SWAP
PK> file that it wrote when the application was initially loaded!
IIRC, OS/2 (at least Warp 4) reloads pages from an executable file (such as
.EXE-, .DLL-files) from that
executable file where it is loaded from again (and not from the swap file)
when it's needed again. This is the reason why executable files (.EXE-,
.DLL-files) which are in use are locked by OS/2: to make *sure* that file
can't be changed while it is running, the same is true for those memory pages:
they are marked as executable code and they are write protected.
Greetings -=Eddy=- email: eddy.thilleman@net.hcc.nl
... A social life? What board do I download THAT from?
--- GoldED/2 3.0.1
* Origin: Windows98 is a graphic DOS extender (2:500/143.7)
|