mirror of
https://github.com/netdata/netdata.git
synced 2025-04-24 13:14:11 +00:00
do not change the scheduling policy by default (#19808)
This commit is contained in:
parent
bb42987e8d
commit
b71ecf1c03
1 changed files with 4 additions and 4 deletions
|
@ -254,6 +254,10 @@ struct sched_def {
|
||||||
// the available members are important too!
|
// the available members are important too!
|
||||||
// these are all the possible scheduling policies supported by netdata
|
// these are all the possible scheduling policies supported by netdata
|
||||||
|
|
||||||
|
// do not change the scheduling priority
|
||||||
|
{ "keep", 0, 0, SCHED_FLAG_KEEP_AS_IS },
|
||||||
|
{ "none", 0, 0, SCHED_FLAG_KEEP_AS_IS },
|
||||||
|
|
||||||
#ifdef SCHED_BATCH
|
#ifdef SCHED_BATCH
|
||||||
{ "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
|
{ "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
|
||||||
#endif
|
#endif
|
||||||
|
@ -275,10 +279,6 @@ struct sched_def {
|
||||||
{ "fifo", SCHED_FIFO, 0, SCHED_FLAG_PRIORITY_CONFIGURABLE },
|
{ "fifo", SCHED_FIFO, 0, SCHED_FLAG_PRIORITY_CONFIGURABLE },
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// do not change the scheduling priority
|
|
||||||
{ "keep", 0, 0, SCHED_FLAG_KEEP_AS_IS },
|
|
||||||
{ "none", 0, 0, SCHED_FLAG_KEEP_AS_IS },
|
|
||||||
|
|
||||||
// array termination
|
// array termination
|
||||||
{ NULL, 0, 0, 0 }
|
{ NULL, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue