#ifdef CONFIG_FAIR_GROUP_SCHED 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 };
load: specifies a weight for each schedule entity that contribute to total load of run queue. Computing load is an important work of scheduler, because the task of virtual run time required by CFS will ultimately depend on it.
run_node: is a standard tree element that allows the entity to be stored in red-black tree.
on_rq: denotes whether the entity is on run queue or not.
sum_exec_runtime: when a process is running, the consumed time need to be recorded.
vruntime: the amount of time that elapse on virtual clock is accounted in vruntime.CFS scheduler use vruntime to account how long a process has been running and how long it ought to run.The function update_curr() defined in sched_fair.c manage this accounting.