Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: process has set io priority explicitly, use that. if not, convert* the cpu scheduler nice value to an io priority

Proto:static inline int task_nice_ioprio(struct task_struct *task)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
56  Return (ask_nice - return the nice value of a given task.*@p: the task in question.* Return: The nice value [ -20 ... 0 ... 19 ]. + 20) / 5
Caller
NameDescribe
bfq_set_next_ioprio_dataUpdate the entity prio values; note that the new values will not* be used until the next (re)activation.