Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\freezer.c Create Date:2022-07-28 10:37:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__thaw_task

Proto:void __thaw_task(struct task_struct *p)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
150  spin_lock_irqsave( & protects freezing and frozen transitions , flags)
151  If frozen(p) Then wake_up_process - Wake up a specific process*@p: The process to be woken up.* Attempt to wake up the nominated process and move it to the set of runnable* processes.* Return: 1 if the process was woken up, 0 if it was already running.
153  spin_unlock_irqrestore( & protects freezing and frozen transitions , flags)
Caller
NameDescribe
thaw_kernel_threads
freezer_attachTasks can be migrated into a different freezer anytime regardless of its* current state. freezer_attach() is responsible for making new tasks* conform to the current state.* Freezer state changes and task migration are synchronized via*@freezer->lock
unfreeze_cgroup
thaw_processes