Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zing_slow_path - slow path for testing whether a task needs to be frozen*@p: task to be tested* This function is called by freezing() if system_freezing_cnt isn't zero* and tests whether @p needs to enter and stay in frozen state. Can be

Proto:bool freezing_slow_path(struct task_struct *p)

Type:bool

Parameter:

TypeParameterName
struct task_struct *p
39  If Per task flags (PF_*), defined further below: & (This thread should not be frozen | This thread called freeze_processes() and should not be frozen ) Then Return false
42  If test_tsk_thread_flag(p, s terminating due to OOM killer ) Then Return false
45  If pm_nosig_freezing || cgroup_freezing(p) Then Return true
48  If dicate whether PM freezing is in effect, protected by* system_transition_mutex && Not ( Per task flags (PF_*), defined further below: & I am a kernel thread ) Then Return true
51  Return false