4 ms·
No, unfortunately. When they swap out, they end up on disk. Sector remapping can then keep them there, even if swap space is reused. I think there is an API
by hyperman1 4y ago
No, unfortunately. When they swap out, they end up on disk. Sector remapping can then keep them there, even if swap space is reused.
I think there is an API in windows to mark a small part of memory as unswappable, but it can't be very big.
- bionade24 4y agoEven if you don't encrypt your Linux' filesystem partitions, you definately should encrypt the swap / the partition the swapfile is on. A new encryption key for the swap can be created at every boot, removing the need of an encryption password. This behaviour does make hibernation impossible, so swap encryption isn't the default on Linux distros that have opt-in encryption. https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption Does someone know how it's handled on Windows and macOS?