函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-27 06:58:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_has_idle_policy

函数原型:static inline int task_has_idle_policy(struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct task_struct *p
177  返回:idle_policy(policy)
调用者
名称描述
set_load_weight
__sched_setscheduler
enqueue_task_fairThe enqueue_task method is called before nr_running is* increased. Here we update the fair scheduling stats and* then put the task into the rbtree:
dequeue_task_fairThe dequeue_task method is called before nr_running is* decreased. We remove the task from the rbtree and* update the fair scheduling stats:
set_last_buddy
set_next_buddy
check_preempt_wakeupPreempt the current task with a newly woken task if needed: