Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:47
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_cpu

Proto:static inline unsigned int task_cpu(const struct task_struct *p)

Type:unsigned int

Parameter:

TypeParameterName
const struct task_struct *p
1847  Return 0
Caller
NameDescribe
task_currask_curr - is this task currently executing on a CPU?*@p: the task in question.* Return: 1 if the task is currently executing. 0 otherwise.
try_to_wake_upry_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.
prefetch_curr_exec_startThe function fair_sched_class.update_curr accesses the struct curr* and its field curr->exec_start; when called from task_sched_runtime(),* we observe a high rate of cache misses in practice.* Prefetching this data results in improved performance.
task_cfs_rq
task_non_contendingThe utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
inactive_task_timer
sched_dl_overflowWe must be sure that accepting a new task (or allowing changing the* parameters of an existing one) is consistent with the bandwidth* constraints. If yes, this function also accordingly updates the currently
print_rq
psi_task_change
rcu_torture_stats_printPrint torture statistics
rcu_request_urgent_qs_taskIf a holdout task is actually running, request an urgent quiescent* state from its CPU
tracing_sched_switch_trace
tracing_sched_wakeup_trace
probe_wakeup
remote_function
task_function_callask_function_call - call a function on the cpu on which a task runs*@p: the task to evaluate*@func: the function to be called*@info: the function call argument* Calls the function @func when the task is currently running
task_node