Score:0

will unmapped memory data be placed in swap files

in flag

So im running Ubuntu 20.04 LTS on a live USB. I have a question regarding swap files and memory when using Ubuntu. Lets say I initiate a software based restart on someones computer from windows 10 installed on a disk, so that the physical contents of RAM are still floating around inside their pages, then boot into ubuntu live usb. from what I understand, when Ubuntu starts up it will see all pages of RAM as unallocated and ready to be used whether these pages actually still contain remnants of data or not, and zeroes them before handing them to applications for security purposes. What I was wondering was if Ubuntu starts swapping the least used pages of ram out to disk during this session, could Ubuntu save any of that persisting physical memory data from the previous windows session to the swap files or will they never get swapped because they are marked as unallocated?

Score:4
cn flag

The answer is quite simple: no. Only memory that is used by the operating system will eventually be swapped to disk.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.