This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via c1e962548f5082554bb52137765a258b3a29283c (commit) from bd583923b29e5dddc4d1b9c6d0e0a513edb69496 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c1e962548f5082554bb52137765a258b3a29283c Author: Matias Elo matias.elo@nokia.com Date: Thu May 11 14:48:38 2017 +0300
linux-gen: sched: fix one at a time low priority event scheduling
If CONFIG_BURST_SIZE was set to one low priority events were never scheduled.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index f366e7ed..f680ac47 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -799,7 +799,8 @@ static inline int do_schedule_grp(odp_queue_t *out_queue, odp_event_t out_ev[],
/* Low priorities have smaller batch size to limit * head of line blocking latency. */ - if (odp_unlikely(prio > ODP_SCHED_PRIO_DEFAULT)) + if (odp_unlikely(MAX_DEQ > 1 && + prio > ODP_SCHED_PRIO_DEFAULT)) max_deq = MAX_DEQ / 2;
ordered = sched_cb_queue_is_ordered(qi); diff --git a/platform/linux-generic/odp_schedule_iquery.c b/platform/linux-generic/odp_schedule_iquery.c index b6924578..b8a40011 100644 --- a/platform/linux-generic/odp_schedule_iquery.c +++ b/platform/linux-generic/odp_schedule_iquery.c @@ -1457,7 +1457,7 @@ static inline int consume_queue(int prio, unsigned int queue_index) /* Low priorities have smaller batch size to limit * head of line blocking latency. */ - if (odp_unlikely(prio > ODP_SCHED_PRIO_DEFAULT)) + if (odp_unlikely(MAX_DEQ > 1 && prio > ODP_SCHED_PRIO_DEFAULT)) max = MAX_DEQ / 2;
/* For ordered queues we want consecutive events to
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_schedule.c | 3 ++- platform/linux-generic/odp_schedule_iquery.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive