Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\process.c Create Date:2022-07-28 09:57:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:thaw_kernel_threads

Proto:void thaw_kernel_threads(void)

Type:void

Parameter:Nothing

231  pm_nosig_freezing = false
232  pr_info("Restarting kernel threads ... ")
234  thaw_workqueues()
236  read_lock( & tasklist_lock)
237  Careful: this is a double loop, 'break' won't work as expected. (g, p)
238  If Per task flags (PF_*), defined further below: & (I am a kernel thread | I'm a workqueue worker ) Then __thaw_task(p)
241  read_unlock( & tasklist_lock)
243  schedule()
244  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("done.\n")
Caller
NameDescribe
freeze_kernel_threadsze_kernel_threads - Make freezable kernel threads go to the refrigerator.* On success, returns 0. On failure, -errno and only the kernel threads are* thawed, so as to give a chance to the caller to do additional cleanups
hibernation_snapshothibernation_snapshot - Quiesce devices and create a hibernation image.*@platform_mode: If set, use platform driver to prepare for the transition.* This routine must be called with system_transition_mutex held.
snapshot_ioctl