函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sub_nr_running

函数原型:static inline void sub_nr_running(struct rq *rq, unsigned count)

返回类型:void

参数:

类型参数名称
struct rq *rq
unsignedcount
1931  可运行进程数减等于count
1933  sched_update_tick_dependency(rq)
调用者
名称描述
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:
dequeue_top_rt_rq
dec_dl_tasks
dequeue_task_stop