Merged,

Maxim.

On 10/21/16 11:21, Elo, Matias (Nokia - FI/Espoo) wrote:
Reviewed-and-tested-by: Matias Elo <matias....@nokia.com>

-----Original Message-----
From: Christophe Milard [mailto:christophe.mil...@linaro.org]
Sent: Wednesday, October 19, 2016 5:30 PM
To: bill.fischo...@linaro.org; Elo, Matias (Nokia - FI/Espoo) <matias.elo@nokia-
bell-labs.com>; lng-odp@lists.linaro.org
Cc: Christophe Milard <christophe.mil...@linaro.org>
Subject: [API-NEXT PATCH] test: drv: shm: decrease test memory requirement

The memory consumption is proporsional to the number of ODP threads
available. The test failed on systems with large number of CPU, due
to outage ot pre-allocaed address space. This patch shrinks the test
requirement.

Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
  test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c
b/test/common_plat/validation/drv/drvshmem/drvshmem.c
index 5e6d2e5..559c55d 100644
--- a/test/common_plat/validation/drv/drvshmem/drvshmem.c
+++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c
@@ -16,7 +16,7 @@
  #define TEST_SHARE_BAR (0xf0f0f0f)
  #define SMALL_MEM 10
  #define MEDIUM_MEM 4096
-#define BIG_MEM 16777216
+#define BIG_MEM 65536
  #define STRESS_SIZE 32                /* power of 2 and <=256 */
  #define STRESS_RANDOM_SZ 5
  #define STRESS_ITERATION 5000
--
2.7.4

Reply via email to