Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 68578a2b61e2afdf4655b61ed8f5d023b16b4846 https://github.com/Linaro/odp/commit/68578a2b61e2afdf4655b61ed8f5d023b16b4846 Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths: M platform/linux-generic/include/odp_ishmpool_internal.h M platform/linux-generic/odp_ishmpool.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_schedule_scalable.c Log Message: ----------- linux-gen: ishm: remove unnecessary _odp_ishm_pool_lookup() function Ease code maintenance by removing unnecessary code. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 661140b119ea0dfc516025869ffce5d215537745 https://github.com/Linaro/odp/commit/661140b119ea0dfc516025869ffce5d215537745 Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M platform/linux-generic/include/odp_shm_internal.h M platform/linux-generic/odp_ishm.c Log Message: ----------- linux-gen: ishm: remove unused internal functions Ease code maintenance by removing the following unused functions: find_block_by_address(void *addr) _odp_ishm_free_by_name(const char *name) _odp_ishm_free_by_address(void *addr) _odp_ishm_lookup_by_index(int block_index) _odp_ishm_lookup_by_address(void *addr) Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 458120cb0507fd143db4f122a9adb3651468712d https://github.com/Linaro/odp/commit/458120cb0507fd143db4f122a9adb3651468712d Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M platform/linux-generic/odp_queue_scalable.c Log Message: ----------- linux-gen: queue scalable: remove _ODP_ISHM_SINGLE_VA from pool create ishm pool create is done during global init so no need to use _ODP_ISHM_SINGLE_VA flag. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 93f315dfdd3fa77bca5ceef2d487aec0dc55c92e https://github.com/Linaro/odp/commit/93f315dfdd3fa77bca5ceef2d487aec0dc55c92e Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M platform/linux-generic/odp_ishm.c Log Message: ----------- linux-gen: ishm: move block memory mapping into _odp_ishm_address() Move internal block memory mapping from odp_shm_lookup() to odp_shm_addr(). Calling odp_shm_addr() is mandatory when sharing shm blocks (not ODP_SHM_SINGLE_VA) between ODP processes. Calling odp_shm_lookup() is optional. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 41eff89ad670eb3bc889ba3b1d9b16d45cb4fdb3 https://github.com/Linaro/odp/commit/41eff89ad670eb3bc889ba3b1d9b16d45cb4fdb3 Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M test/validation/api/pool/pool.c Log Message: ----------- validation: pool: add test for creating and using a pool after fork Add a new test case where pool is created after a process has been already forked. The created pool is shared amongst all test threads. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bc9a1f01b55da44053a233acd4110def04f208fe https://github.com/Linaro/odp/commit/bc9a1f01b55da44053a233acd4110def04f208fe Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M test/validation/api/shmem/shmem.c Log Message: ----------- validation: shmem: reduce the number of workers in single VA alloc test Reduce the maximum number of threads in run_test_singleva_after_fork() test to three (number of test cases). As each worker performs shm allocation the test would fail eventually on high core count systems. The CU asserts are changed to FATAL as the following check would cause segfault. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: b181d885962969f439d9cd6f828fb66007ddedcb https://github.com/Linaro/odp/commit/b181d885962969f439d9cd6f828fb66007ddedcb Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M config/odp-linux-generic.conf M platform/linux-generic/include/odp_config_internal.h M platform/linux-generic/odp_ishm.c M platform/linux-generic/test/process-mode.conf Log Message: ----------- linux-gen: ishm: read single va size from config Simplify adjusting single VA memory size by moving the value to ODP config (shm.single_va_size). The default size is dropped to 128MB to save memory. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7c7194c3da746e435044829fcd1f38b8011e386d https://github.com/Linaro/odp/commit/7c7194c3da746e435044829fcd1f38b8011e386d Author: Matias Elo <matias....@nokia.com> Date: 2018-11-14 (Wed, 14 Nov 2018) Changed paths: M .travis.yml M platform/linux-generic/include/odp_ishmphy_internal.h M platform/linux-generic/include/odp_shm_internal.h M platform/linux-generic/odp_ishm.c M platform/linux-generic/odp_ishmphy.c M platform/linux-generic/odp_ishmpool.c M platform/linux-generic/odp_shared_memory.c M platform/linux-generic/test/validation/api/shmem/shmem_linux.c Log Message: ----------- linux-gen: ishm: use pre-reserved single va memory Reserve single VA memory in global init instead of only allocating the address space. Allocating only the address space doesn't work if shm blocks are reserved after ODP process has been forked. Signed-off-by: Matias Elo <matias....@nokia.com> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/0ce0f29c5cc1...7c7194c3da74 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.