Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
71785e2d
Commit
71785e2d
authored
Jul 05, 2017
by
Hisham Muhammad
Browse files
Set idle I/O prio to 0x6007, like ionice.
As suggested by @wolfgang42 in #100.
parent
e9ecbd05
Changes
2
Hide whitespace changes
Inline
Side-by-side
linux/IOPriority.c
View file @
71785e2d
...
...
@@ -35,7 +35,7 @@ typedef int IOPriority;
#define IOPriority_error 0xffffffff
#define IOPriority_None IOPriority_tuple(IOPRIO_CLASS_NONE, 0)
#define IOPriority_Idle IOPriority_tuple(IOPRIO_CLASS_IDLE,
0
)
#define IOPriority_Idle IOPriority_tuple(IOPRIO_CLASS_IDLE,
7
)
}*/
linux/IOPriority.h
View file @
71785e2d
...
...
@@ -36,7 +36,7 @@ typedef int IOPriority;
#define IOPriority_error 0xffffffff
#define IOPriority_None IOPriority_tuple(IOPRIO_CLASS_NONE, 0)
#define IOPriority_Idle IOPriority_tuple(IOPRIO_CLASS_IDLE,
0
)
#define IOPriority_Idle IOPriority_tuple(IOPRIO_CLASS_IDLE,
7
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment