01f8e0fa2d
This adds a new kconfig for eviction algorithm which needs page tracking. When enabled, k_mem_paging_eviction_add()/_remove() and k_mem_paging_eviction_accessed() must be implemented. If an algorithm does not do page tracking, there is no need to implement these functions, and no need for the kernel MMU code to call into empty functions. This should save a few function calls and some CPU cycles. Note that arm64 unconditionally calls those functions so forces CONFIG_EVICTION_TRACKING to be enabled there. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
||
---|---|---|
.. | ||
data_structures | ||
drivers | ||
iterable_sections | ||
memory_management | ||
object_cores | ||
services | ||
timing_functions | ||
usermode | ||
util | ||
code-relocation.rst | ||
index.rst | ||
timeutil.rst |