On Wed, May 24, 2017 at 7:43 AM, Joseph Reichman <[email protected]>
wrote:

> At the risk out sounding stupid why does it first have to be swapped out
>
>
​I'll bet that you're envisioning all the pages being physically written
out to a local page dataset, then physically read back in. I don't think
this is what is really done. It is _logicallly_ swapped out. And then
_logically_ swapped back in. Then marked non-SWAPPABLE. During the swap in,
the data in physical memory frames may be copied to other, non-preferred,
memory frames. ​Why do it this way? Because it just leverages code that
already exists rather than using special purpose code. Less code to write
and maintain is a _good_ thing.


-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to