函数逻辑报告

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 int test_tsk_need_resched(struct task_struct *tsk)

返回类型:int

参数:

类型参数名称
struct task_struct *tsk
1772  返回:此条件成立可能性小(为编译器优化)(test_tsk_thread_flag(tsk, scheduling necessary ))
调用者
名称描述
resched_curr标记当前进程需要被调度出去
check_preempt_curr
check_preempt_wakeupPreempt the current task with a newly woken task if needed: