Home
last modified time | relevance | path

Searched hist:"7 aa2bec847863b665853f1a397f95bcf9f2f5032" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/include/mm/
H A Dpgt_cache.h7aa2bec847863b665853f1a397f95bcf9f2f5032 Wed Jun 08 15:16:53 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: pgt: use pgt_cache_list without pager too

Prior to this patch was only unused pgts cached when paging was enabled.
Take this one step further and cache unused pgts when paging is disabled
too. The purpose of this is to allow core_mmu_populate_user_map() to
skip already initialized translation tables.

Add two helper functions pgt_pop_from_cache_list() and
pgt_push_to_cache_list() to be used when updating the translation tables
currently in the cache list.

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