zephyr/arch
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
..
arc llext: add support for arc 2024-11-16 15:08:51 -05:00
arm arch: arm: cleanup of soc flags in arch 2024-11-16 15:56:11 -05:00
arm64 init: support per-core init hook 2024-11-16 14:04:25 -05:00
common arch: common: fix copy for ramfunc region during XIP init 2024-11-06 10:19:08 -08:00
mips init: support per-core init hook 2024-11-16 14:04:25 -05:00
nios2 init: support per-core init hook 2024-11-16 14:04:25 -05:00
posix init: support per-core init hook 2024-11-16 14:04:25 -05:00
riscv init: support per-core init hook 2024-11-16 14:04:25 -05:00
sparc init: support per-core init hook 2024-11-16 14:04:25 -05:00
x86 init: support per-core init hook 2024-11-16 14:04:25 -05:00
xtensa LLEXT: fix advanced uses of detached sections 2024-11-16 15:28:00 -05:00
archs.yml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING 2024-11-18 13:16:44 -05:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00