Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: bde4740691276d71ef50653350a67823229bacc6 https://github.com/Linaro/odp/commit/bde4740691276d71ef50653350a67823229bacc6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths: M test/validation/api/shmem/shmem.c Log Message: ----------- validation: shm: test capa and maximum reservation Added test which uses capability API, and tries to reserve and use maximum sized block. 100 MB shm memory is assumed to be available to ODP validation tests. 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: 4fbb34a163a6b4aba4935e1fbd2d31b11c30198a https://github.com/Linaro/odp/commit/4fbb34a163a6b4aba4935e1fbd2d31b11c30198a Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-12 (Mon, 12 Feb 2018) Changed paths: M include/odp/api/spec/init.h Log Message: ----------- api: init: add shm memory size parameter Application memory usage may vary a lot. Implementation may need to pre-allocate memory or address space already at init time to be able to guarantee e.g. the same VA address space for all threads. Total SHM memory usage information is needed at global init time, as implementation likely uses the same shared memory for its own global memory allocations. 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: d905533519ffe68ec05d07d09f1f70d6d1b491a6 https://github.com/Linaro/odp/commit/d905533519ffe68ec05d07d09f1f70d6d1b491a6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-12 (Mon, 12 Feb 2018) Changed paths: M platform/linux-generic/_ishm.c M platform/linux-generic/include/odp_internal.h M platform/linux-generic/odp_init.c M platform/linux-generic/odp_shared_memory.c Log Message: ----------- linux-gen: shm: use global init max memory Use global init parameter to allow application to use more than 512 MB of shared memory. 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/f78fe4715f39...d905533519ff