函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:35
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:是空闲任务

函数原型:static inline bool is_idle_task(const struct task_struct *p)

返回类型:bool

参数:

类型参数名称
const struct task_struct *p
1639  返回:非非任务标志按位与I am an IDLE thread 的值
调用者
名称描述
kvm_async_pf_task_wait@interrupt_kernel: Is this called from a routine which interrupts the kernel* (other than user space)?
irq_enterEnter an interrupt context.
rcu_eqs_enterEnter an RCU extended quiescent state, which can be either the* idle loop or adaptive-tickless usermode execution.* We crowbar the ->dynticks_nmi_nesting field to zero to allow for* the possibility of usermode upcalls having messed up our count
rcu_eqs_exitExit an RCU extended quiescent state, which can be either the* idle loop or adaptive-tickless usermode execution.* We crowbar the ->dynticks_nmi_nesting field to DYNTICK_IRQ_NONIDLE to* allow for the possibility of usermode upcalls messing up our count of
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
rcu_wake_cond
call_rcuPost an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.
kdb_task_state_charkdb_task_state_char - Return the character that represents the task state.* Inputs:* p struct task for the process* Returns:* One character to represent the task state.
perf_swevent_hrtimerhrtimer based swevent callback