Home
last modified time | relevance | path

Searched hist:"0 e3f6d6bb28b63f15541b397b5bdaed563bbfab7" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_ree_fs.c0e3f6d6bb28b63f15541b397b5bdaed563bbfab7 Fri Mar 09 16:13:24 UTC 2018 Jens Wiklander <jens.wiklander@linaro.org> core: REE FS: temporary block allocation

Large memory allocations with malloc() can fail due to a fragmented
heap. This is especially a problem when configured with pager as the
heap is kept as small as possible in that configuration for obvious
reasons.

This patch allocates the temporary block needed for reading and writing
in REE FS tee_pager_alloc() instead when the pager is enabled.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>