Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\fair.c Create Date:2022-07-28 09:38:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:entity_before

Proto:static inline int entity_before(struct sched_entity *a, struct sched_entity *b)

Type:int

Parameter:

TypeParameterName
struct sched_entity *a
struct sched_entity *b
526  Return vruntime - vruntime < 0
Caller
NameDescribe
__enqueue_entityEnqueue an entity into the rb-tree:
pick_next_entityPick the next process, keeping these things in mind, in this order:* 1) keep things fair between processes/task groups* 2) pick the "next" process, since someone really wants that to run* 3) pick the "last" process, for cache locality* 4) do not run the
task_fork_fairalled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled