zephyr/doc/kernel/memory_management
Daniel Leung 01f8e0fa2d demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING
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>
2024-11-18 13:16:44 -05:00
..
demand_paging.rst demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING 2024-11-18 13:16:44 -05:00
heap.rst multi_heap: introduce support for realloc() 2024-11-16 14:02:07 -05:00
index.rst doc: kernel/mm: add a page about virtual memory 2023-12-08 08:31:15 -05:00
shared_multi_heap.rst doc: Use basic ..doxygengroup syntax 2024-08-13 09:49:21 +01:00
slabs.rst
sys_mem_blocks.rst doc: memory: Fix SYS_MEM_BLOCKS_DEFINE_STATIC description 2023-11-06 19:03:29 -05:00
virtual_memory.rst kernel: mm: rename Z_VM_RESERVED to K_MEM_VM_RESERVED 2024-06-12 21:13:26 -04:00