aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-10-24 15:54:53 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-11-06 19:00:44 +0300
commit93774c205c20951e51b0ed8d9c03bd21f95857bc (patch)
tree2c47fa618cb8ae1646958c67269e909d4803054d
parenta83e3c5ce2caa4ba4ba92f6e383c2a28d9aa3956 (diff)
linux-gen: sched: increase max spread weight
Increase max spread weight. The default value is kept the same. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--platform/linux-generic/odp_schedule_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/odp_schedule_basic.c b/platform/linux-generic/odp_schedule_basic.c
index 456704a08..7208200aa 100644
--- a/platform/linux-generic/odp_schedule_basic.c
+++ b/platform/linux-generic/odp_schedule_basic.c
@@ -58,7 +58,7 @@ ODP_STATIC_ASSERT((ODP_SCHED_PRIO_NORMAL > 0) &&
/* A thread polls a non preferred sched queue every this many polls
* of the prefer queue. */
-#define MAX_PREFER_WEIGHT 63
+#define MAX_PREFER_WEIGHT 127
#define MIN_PREFER_WEIGHT 1
#define MAX_PREFER_RATIO (MAX_PREFER_WEIGHT + 1)