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 /config | |
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 'config')
-rw-r--r-- | config/odp-linux-generic.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index 4585a8964..339382899 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-generic" -config_file_version = "0.1.3" +config_file_version = "0.1.4" # Shared memory options shm: { @@ -37,6 +37,9 @@ shm: { # Allocate internal shared memory using a single virtual address space. # Set to 1 to enable using process mode. single_va = 0 + + # Amount of memory pre-reserved for ODP_SHM_SINGLE_VA usage in kilobytes + single_va_size_kb = 131072 } # Pool options |