harttle / harttle.github.io

Harttle Land 的源码和文章
https://harttle.land
Creative Commons Attribution 4.0 International
122 stars 32 forks source link

2019/10/19/hibernate-archlinux #174

Open utterances-bot opened 9 months ago

utterances-bot commented 9 months ago

ArchLinux 休眠到交换文件 | Harttle Land

Linux 使用交换分区来休眠,首先冻结所有进程并申请足够的交换内存(位于磁盘),把当前内存都存进去。然后下次启动时,initramfs 会直接加载上次休眠时的内存状态,跳过内核的 init 过程。因此首先需要有足够大的交换分区或交换文件;再把内核指...

https://harttle.land/2019/10/19/hibernate-archlinux.html

illyber commented 9 months ago

都是干货,感谢分享