Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\deadline.h Create Date:2022-07-28 05:40:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dl_task

Proto:static inline int dl_task(struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
20  Return dl_prio(prio)
Caller
NameDescribe
check_class_changedswitched_from, switched_to and prio_changed must _NOT_ drop rq->lock,* use the balance_callback list if you want balancing.* this means any call to check_class_changed() must be followed by a call to* balance_callback().
__sched_setscheduler
task_non_contendingThe utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
dl_task_timerThis is the bandwidth enforcement timer callback
update_curr_dlUpdate the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq).
inactive_task_timer
switched_to_dlWhen switching to -deadline, we may overload the rq, then* we try to push someone off, if possible.
hrtimer_nanosleep
check_thread_timersCheck for any per-thread CPU timers that have fired and move them off* the tsk->cpu_timers[N] list onto the firing list. Here we update the
fastpath_timer_checkastpath_timer_check - POSIX CPU timers fast path.*@tsk: The task (thread) being checked.* Check the task and thread group timers. If both are zero (there are no* timers set) return false. Otherwise snapshot the task and thread group
probe_wakeup