Linux Kernel调度管理之sched_entity
来源:互联网 发布:集美大学怎么样 知乎 编辑:程序博客网 时间:2024/06/05 01:42
sched_entity是调度实体描述,描述可被调度的对象:
struct sched_entity {struct load_weightload;/* for load-balancing */struct rb_noderun_node;struct list_headgroup_node;unsigned inton_rq;u64exec_start;u64sum_exec_runtime;u64vruntime;u64prev_sum_exec_runtime;u64nr_migrations;#ifdef CONFIG_SCHEDSTATSstruct sched_statistics statistics;#endif#ifdef CONFIG_FAIR_GROUP_SCHEDintdepth;struct sched_entity*parent;/* rq on which this entity is (to be) queued: */struct cfs_rq*cfs_rq;/* rq "owned" by this entity/group: */struct cfs_rq*my_q;#endif#ifdef CONFIG_SMP/* * Per entity load average tracking. * * Put into separate cache line so it does not * collide with read-mostly values above. */struct sched_avgavg ____cacheline_aligned_in_smp;#endif};
需要注意,进程描述符中含有三个类别的调度实体,即cfs,rt,dl三个。
0 0
- Linux Kernel调度管理之sched_entity
- Linux Kernel调度管理之loadavg计算
- Linux Kernel调度管理之dl_sched_class
- Linux Kernel调度管理之stop_sched_class
- Linux Kernel调度管理之fair_sched_class
- Linux Kernel调度管理之rt_sched_class
- Linux Kernel调度管理之sched_rt_entity
- Linux Kernel调度管理之sched_dl_entity
- Linux Kernel调度管理之rt_rq
- Linux Kernel调度管理之rq
- Linux Kernel调度管理之cfs_rq
- Linux Kernel调度管理之dl_rq
- Linux Kernel调度管理之sched_class
- Linux Kernel调度管理之task_struct
- Linux Kernel调度管理之进程唤醒
- Linux Kernel调度管理之autogroup
- Linux Kernel调度管理之root_domain
- Linux Kernel调度管理之load_weight
- linux session
- mysql表结构优化语句procedure analyse();
- python
- mysql 实现top查询
- Linux Kernel调度管理之sched_class
- Linux Kernel调度管理之sched_entity
- Linux Kernel调度管理之task_struct
- 程序人生
- (UVA)1586
- Linux 内核clk框架描述
- freedos 调试笔记
- linux中匿名管道和命名管道
- TK1 Caffe 安装过程记录
- Linux文件系统