News for hackers. Stuff that matters.
Re:Linux 3.15 Can Resume From Suspend Faster by reedalex01 on Sunday April 13, 2014 @12:27PM (#7581782)
Speed isn't the only consideration. If you're using disk encryption, the only way to remove keys from RAM is to power off or hibernate. Preserving state between sessions with hibernation is much more convenient. Also, Linux only uses RAM * 2/5 as the size of the hibernation image [1]. You can make this even smaller by changing /sys/power/image_size. So with 16GB of RAM, it only has to write/read about 6.4GB.

[1] https://www.kernel.org/doc/Documentation/power/interface.txt

Re:Linux 3.15 Can Resume From Suspend Faster by ciupicri on Sunday April 13, 2014 @04:07PM (#7582757)
If you use hibernate won't the keys be stored on the swap partition?
Re:Linux 3.15 Can Resume From Suspend Faster by reedalex01 on Sunday April 13, 2014 @07:23PM (#7583593)
You can use LVM to make the swap partition inside the encrypted container. If you don't want to use LVM, you can just use a swap file on an encrypted partition (but this isn't supported with btrfs).