Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_next_buddy

Proto:static void set_next_buddy(struct sched_entity *se)

Type:void

Parameter:

TypeParameterName
struct sched_entity *se
6544  If entity_is_task(se) && Value for the false possibility is greater at compile time(task_has_idle_policy(CFS operations on generic schedulable entities:)) Then Return
6548  If SCHED_WARN_ON(!on_rq) Then Return
6550  next = se
Caller
NameDescribe
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:
check_preempt_wakeupPreempt the current task with a newly woken task if needed:
yield_to_task_fair