Function report |
Source Code:kernel\power\process.c |
Create Date:2022-07-28 09:57:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:thaw_processes
Proto:void thaw_processes(void)
Type:void
Parameter:Nothing
192 | curr = current process |
194 | trace_suspend_resume(TPS("thaw_processes"), 0, true) |
195 | If pm_freezing Then atomic_dec( & system_freezing_cnt) |
197 | pm_freezing = false |
198 | pm_nosig_freezing = false |
200 | oom_killer_enable() |
202 | pr_info("Restarting tasks ... ") |
205 | thaw_workqueues() |
207 | cpuset_wait_for_hotplug() |
209 | read_lock( & tasklist_lock) |
212 | WARN_ON((p != curr) && ( Per task flags (PF_*), defined further below: & This thread called freeze_processes() and should not be frozen )) |
213 | __thaw_task(p) |
215 | read_unlock( & tasklist_lock) |
217 | WARN_ON(!( Per task flags (PF_*), defined further below: & This thread called freeze_processes() and should not be frozen )) |
218 | Per task flags (PF_*), defined further below: &= ~This thread called freeze_processes() and should not be frozen |
220 | usermodehelper_enable() |
222 | schedule() |
224 | trace_suspend_resume(TPS("thaw_processes"), 0, false) |
Name | Describe |
---|---|
freeze_processes | ze_processes - Signal user space processes to enter the refrigerator.* The current thread will not be frozen. The same process that calls* freeze_processes must later call thaw_processes.* On success, returns 0 |
hibernate | hibernate - Carry out system hibernation, including saving the image. |
software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
snapshot_release | |
snapshot_ioctl |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |