Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210870618
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210870618
Commits
146a5fb0
Commit
146a5fb0
authored
Apr 1, 2021
by
AlfredChen
Browse files
Options
Downloads
Patches
Plain Diff
sched/alt: Update task_prio() function header
parent
be3bdfec
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
kernel/sched/bmq_imp.h
+5
-2
5 additions, 2 deletions
kernel/sched/bmq_imp.h
kernel/sched/pds_imp.h
+5
-2
5 additions, 2 deletions
kernel/sched/pds_imp.h
with
10 additions
and
4 deletions
kernel/sched/bmq_imp.h
+
5
−
2
View file @
146a5fb0
...
...
@@ -170,8 +170,11 @@ static void sched_task_fork(struct task_struct *p, struct rq *rq)
* @p: the task in question.
*
* Return: The priority value as seen by users in /proc.
* RT tasks are offset by -100. Normal tasks are centered around 1, value goes
* from 0(SCHED_ISO) up to 82 (nice +19 SCHED_IDLE).
*
* sched policy return value kernel prio user prio/nice/boost
*
* normal, batch, idle [0 ... 53] [100 ... 139] 0/[-20 ... 19]/[-7 ... 7]
* fifo, rr [-1 ... -100] [99 ... 0] [0 ... 99]
*/
int
task_prio
(
const
struct
task_struct
*
p
)
{
...
...
This diff is collapsed.
Click to expand it.
kernel/sched/pds_imp.h
+
5
−
2
View file @
146a5fb0
...
...
@@ -248,8 +248,11 @@ static void sched_task_fork(struct task_struct *p, struct rq *rq)
* @p: the task in question.
*
* Return: The priority value as seen by users in /proc.
* RT tasks are offset by -100. Normal tasks are centered around 1, value goes
* from 0(SCHED_ISO) up to 82 (nice +19 SCHED_IDLE).
*
* sched policy return value kernel prio user prio/nice
*
* normal, batch, idle [0 ... 39] 100 0/[-20 ... 19]
* fifo, rr [-1 ... -100] [99 ... 0] [0 ... 99]
*/
int
task_prio
(
const
struct
task_struct
*
p
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment