Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:44
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wake_up_state

Proto:int wake_up_state(struct task_struct *p, unsigned int state)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
unsigned intstate
2675  Return ry_to_wake_up - wake up a thread*@p: the thread to be awakened*@state: the mask of task states that can be woken*@wake_flags: wake modifier flags (WF_*)* If (@state & @p->state) @p->state = TASK_RUNNING.
Caller
NameDescribe
ptrace_resume
signal_wake_up_stateTell a process that it has a new active signal
prepare_signalHandle magic process-wide effects of stop/continue signals
kthread_unparkkthread_unpark - unpark a thread created by kthread_create().*@k: thread created by kthread_create().* Sets kthread_should_park() for @k to return false, wakes it, and* waits for it to return. If the thread is marked percpu then its
swake_up_allDoes not allow usage from IRQ disabled, since we must be able to* release IRQs to guarantee bounded hold time.
klp_send_signalsSends a fake signal to all non-kthread tasks with TIF_PATCH_PENDING set.* Kthreads with TIF_PATCH_PENDING set are woken up.
freeze_taskze_task - send a freeze request to given task*@p: task to send the request to* If @p is freezing, the freeze request is sent either by sending a fake* signal (if it's not a kernel thread) or waking it up (if it's a kernel* thread)
requeue_pi_wake_futexqueue_pi_wake_futex() - Wake a task that acquired the lock during requeue*@q: the futex_q*@key: the key of the requeue target futex*@hb: the hash_bucket of the requeue target futex* During futex_requeue, with requeue_pi=1, it is possible to acquire the