3 ms·
I didn't actually mean to add that second link in there (I realised you were talking about virtual machines and edited my comment accordingly... But forgot to r
by chris_wot 14y ago
I didn't actually mean to add that second link in there (I realised you were talking about virtual machines and edited my comment accordingly... But forgot to remove the second URL!)
However, disk-backed page faults are but one component of a virtual memory subsystem. The real genius is the OS can provide access to memory uniformly in a way that is transparent to processes.
- gaius 14y agoIndeed but in practice, paging to disk and memory protection are so entwined now.
- chris_wot 14y agoNot really. In Windows its just a change to a system setting to disable the swap file, and in a unix it's a config file change or a command like swapoff to turn it off. The fact that the two are entwined now is because of system defaults and decisions by OS developers on how to implement the page replacement algorithms in MM subsystems.