Changes in v2
- Incorporate Stuart's review comments
- Add odp_schedule_group_count() API to return the count of threads belonging
  to a schedule group
  
--
This patch series implements (most of) Petri's latest scheduler changes.
Major changes include:

1. Implement scheduler groups, including additional APIs to lookup, join,
   and leave scheduler groups.

2. Implement ordered queues.

We need to discuss the syntax and semantics behind
odp_schedule_release_ordered() further.

Note that this series also seems to expose a checkpatch issue. Part 2
generates the error:

ERROR: do not initialise globals to 0 or NULL
#139: FILE: platform/linux-generic/odp_schedule.c:638:
+                               = 0;

which makes no sense as this initialization seems necessary.

I've not marked this "RFC" even though it is incomplete because the
functions it does define are complete and ready for more thorough review
and testing.  There will be additional versions of this patch before it
is ready for merge into API-NEXT.

Bill Fischofer (5):
  api: schedule: additional scheduler group functions
  validation: schedule: initialize queue and pool parameters
  linux-generic: schedule: implement scheduler groups
  linux-generic: queue: implement ordered queues
  api: schedule: revised definition of odp_schedule_release_ordered

 include/odp/api/config.h                           |   5 +
 include/odp/api/schedule.h                         |  79 ++++++++--
 .../include/odp/plat/schedule_types.h              |   4 +
 .../linux-generic/include/odp_buffer_internal.h    |   5 +
 .../linux-generic/include/odp_queue_internal.h     |   4 +
 .../linux-generic/include/odp_schedule_internal.h  |   7 +
 platform/linux-generic/odp_pool.c                  |   3 +
 platform/linux-generic/odp_queue.c                 | 144 ++++++++++++++++++-
 platform/linux-generic/odp_schedule.c              | 160 ++++++++++++++++++++-
 platform/linux-generic/odp_thread.c                |  25 +++-
 test/validation/scheduler/scheduler.c              |   4 +
 11 files changed, 415 insertions(+), 25 deletions(-)

-- 
2.1.4

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to