zephyr/doc/kernel
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
..
data_structures doc: specify thread safety for each data structure 2024-10-30 18:45:33 -07:00
drivers
iterable_sections
memory_management demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING 2024-11-18 13:16:44 -05:00
object_cores doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
services arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
timing_functions
usermode doc: sphinx-lint: fix dangling-hyphen 2024-09-11 07:39:30 -04:00
util
code-relocation.rst
index.rst
timeutil.rst