Searched hist:c46bd3e1f20d9c743a685714ad4f169c6e52d0d1 (Results 1 – 2 of 2) sorted by relevance
| /optee_os/lib/libutils/isoc/include/ |
| H A D | malloc.h | c46bd3e1f20d9c743a685714ad4f169c6e52d0d1 Tue Sep 14 07:17:25 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> libutils: bget_malloc: fix test in pool min size
Requires at least 1 kB for the initial malloc memory pool. The rational is that the initial pool min size is not straightforward to compute as it depends on the internals of the BGET implementation. However, with a requirement of at least 1 kB in initial memory pool we'll have good margin while still being reasonable.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/lib/libutils/isoc/ |
| H A D | bget_malloc.c | c46bd3e1f20d9c743a685714ad4f169c6e52d0d1 Tue Sep 14 07:17:25 UTC 2021 Etienne Carriere <etienne.carriere@linaro.org> libutils: bget_malloc: fix test in pool min size
Requires at least 1 kB for the initial malloc memory pool. The rational is that the initial pool min size is not straightforward to compute as it depends on the internals of the BGET implementation. However, with a requirement of at least 1 kB in initial memory pool we'll have good margin while still being reasonable.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|