diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-11-01 16:50:43 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-11-14 18:11:24 +0300 |
commit | b181d885962969f439d9cd6f828fb66007ddedcb (patch) | |
tree | 52d3a4f1dcb58cfedf22329a457052e9918a6800 /platform/linux-generic/include/odp_config_internal.h | |
parent | bc9a1f01b55da44053a233acd4110def04f208fe (diff) |
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.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_config_internal.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 65f751972..642de685c 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -129,16 +129,6 @@ extern "C" { #define ODP_CONFIG_SHM_BLOCKS (ODP_CONFIG_POOLS + 48) /* - * Size of the virtual address space pre-reserver for ISHM - * - * This is just virtual space preallocation size, not memory allocation. - * This address space is used by ISHM to map things at a common address in - * all ODP threads (when the _ODP_ISHM_SINGLE_VA flag is used). - * In bytes. - */ -#define ODP_CONFIG_ISHM_VA_PREALLOC_SZ (1024 * 1024 * 1024L) - -/* * Maximum event burst size * * This controls the burst size on various enqueue, dequeue, etc calls. Large |