3 ms·
Oh? So where do you put swapped-out pages when you go into hibernation? Or would you first need to defragment your page file contents just to dump RAM contents
by ygra 14y ago
Oh? So where do you put swapped-out pages when you go into hibernation? Or would you first need to defragment your page file contents just to dump RAM contents into it? Or keep a map what pages in the pagefile are swapped out and what are just hibernated RAM and then piece stuff together on wake-up again?
- hackmiester 14y agoLinux can write the suspend-to-disk data to the swap partition, and this comment really made me wonder how...
- richardwhiuk 14y agoYou simply swap out all your memory. There's no technical difference between a hibernated page and a swapped out page - the only difference is that the OS normally prevents certain pages (e.g. kernel pages) from being swapped out to preserve performance.