mirror of https://github.com/xzeldon/htop.git
Set idle I/O prio to 0x6007, like ionice.
As suggested by @wolfgang42 in #100.
This commit is contained in:
parent
e9ecbd05bc
commit
71785e2ded
|
@ -35,7 +35,7 @@ typedef int IOPriority;
|
||||||
#define IOPriority_error 0xffffffff
|
#define IOPriority_error 0xffffffff
|
||||||
|
|
||||||
#define IOPriority_None IOPriority_tuple(IOPRIO_CLASS_NONE, 0)
|
#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)
|
||||||
|
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ typedef int IOPriority;
|
||||||
#define IOPriority_error 0xffffffff
|
#define IOPriority_error 0xffffffff
|
||||||
|
|
||||||
#define IOPriority_None IOPriority_tuple(IOPRIO_CLASS_NONE, 0)
|
#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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue