![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux Power_Management
坚持是一种生活姿态
最怕一生碌碌无为还以为自己平凡可贵~
展开
-
Linux-Suspend-to-Ram【Sleep,S3】
S3:suspend to ram基于Linux-3.16.0内核(1)进出S3的脉络state_store pm_suspend enter_state suspend_devices_and_enter suspend_enter /*suspend_ops为...原创 2018-05-07 09:58:06 · 1553 阅读 · 0 评论 -
Linux-Suspend-to-Disk【Hibernate,S4】
S4:suspend to disk (1)进入S4state_store hibernate hibernation_snapshot create_image swsusp_arch_suspend(2)从S4返回late_initcall_sync(software_resume);software_re...原创 2018-11-21 15:50:38 · 1023 阅读 · 0 评论 -
Linux-Poweroff【S5】
S5是poweroffhibernate (kernel/power/hibernate.c) |- hibernation_snapshot | |- create_images | |- disable_nonboot_cpus (kernel/cpu.c) | | |- _cpu_down ...原创 2018-11-21 15:51:16 · 387 阅读 · 0 评论