Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 2ee48570ed824d5caff4f8cb121b7c293a481820 https://github.com/Linaro/odp/commit/2ee48570ed824d5caff4f8cb121b7c293a481820 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018)
Changed paths: M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: timer: fix timer pool index allocation Timer pool index was allocated using atomic counters, so that a combination of timer_pool_create and _destroy calls resulted the same index to be allocated for multiple timers. Use a global data structure protected with a lock to maintain pool status. Fixes: https://bugs.linaro.org/show_bug.cgi?id=3772 Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f0d0fd91978a8127ed270b03853ac0e04492a333 https://github.com/Linaro/odp/commit/f0d0fd91978a8127ed270b03853ac0e04492a333 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018) Changed paths: M platform/linux-generic/odp_timer.c Log Message: ----------- linux-gen: timer: reduce number of timer pools Typical application needs only couple of timer pools. Reduce number of timer pools to reduce global data structure size. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0f700e1a4b8e66c269081eba64eb5be8c37de868 https://github.com/Linaro/odp/commit/0f700e1a4b8e66c269081eba64eb5be8c37de868 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-26 (Thu, 26 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: add timer pool create-destroy test Added a test case that creates, uses and destroyes multiple timer pools. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/82499a9a4c80...0f700e1a4b8e