OP-TEE / optee_os

Trusted side of the TEE
Other
1.51k stars 1.03k forks source link

core: mm: add CFG_PGT_CACHE_ENTRIES #6908

Closed etienne-lms closed 3 days ago

etienne-lms commented 1 week ago

Add CFG_PGT_CACHE_ENTRIES to allow platforms to customize the page table cache size. This is needed for example when a platform is to support very large TAs of several dozen of Mbytes of private memory (code/data).

By the way, fix pgt_cache.h layout to have header files includes first followed by macro definitions.

etienne-lms commented 4 days ago

Fixup commits squashed and review tag applied.