summaryrefslogtreecommitdiffstats
path: root/src/daemon.c
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-04 01:17:36 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-04 01:17:36 +0200
commitb0eef69b6349b768876f53ca0a507df16767a7e6 (patch)
tree8634a933c888903df309e16056a0ba2fa03d36a2 /src/daemon.c
parent4209bf5c9c6119cf48c286f839aa346de6859460 (diff)
proper defaults for process scheduling policies rr and batch
Diffstat (limited to 'src/daemon.c')
-rw-r--r--src/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon.c b/src/daemon.c
index dd53df979f..0c8fc8c13d 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -215,11 +215,11 @@ struct sched_def {
#endif
#ifdef SCHED_FIFO
- { "rr", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+ { "fifo", SCHED_FIFO, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
#endif
#ifdef SCHED_BATCH
- { "rr", SCHED_BATCH, 99, SCHED_FLAG_PRIORITY_CONFIGURABLE },
+ { "batch", SCHED_BATCH, 0, SCHED_FLAG_USE_NICE },
#endif
// do not change the scheduling priority