函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:设置进程需要被调度出去的标志

函数原型:static inline void set_tsk_need_resched(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
1762  Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
调用者
名称描述
set_nr_and_not_polling
resched_curr标记当前进程需要被调度出去
idle_inject_timer_fn
rcu_sched_clock_irqThis function is invoked from each scheduling-clock interrupt,* and checks to see if this CPU is in a non-context-switch quiescent* state, for example, user mode or idle loop. It also schedules RCU* core processing
rcu_corePerform RCU core processing work for the current CPU.
rcu_sched_clock_irqCheck to see if the scheduling-clock interrupt came from an extended* quiescent state, and, if so, tell RCU about it. This function must* be called from hardirq context. It is normally called from the* scheduling-clock interrupt.
print_cpu_stall
rcu_exp_need_qsRequest an expedited quiescent state.