Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__kthread_parkme

Proto:static void __kthread_parkme(struct kthread *self)

Type:void

Parameter:

TypeParameterName
struct kthread *self
188  cycle
198  set_special_state() should be used for those states when the blocking task* can not use the regular condition based wait-loop. In that case we must* serialize against wakeups such that any possible in-flight TASK_RUNNING stores(Used in tsk->state again: )
199  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Break
202  complete( & parked)
203  schedule()
205  set_current_state() includes a barrier so that the write of current->state* is correctly serialised wrt the caller's subsequent test of whether to* actually sleep:* for (;;) {* set_current_state(TASK_UNINTERRUPTIBLE);* if (!need_sleep)* break;* (Used in tsk->state: )
Caller
NameDescribe
kthread_parkme
kthread