CONFIG_EVICTION_NRU¶
Not Recently Used (NRU) page eviction algorithm
Type: bool
Help¶
This implements a Not Recently Used page eviction algorithm.
A periodic timer will clear the accessed state of all virtual pages.
When a page frame needs to be evicted, the algorithm will prefer to
evict page frames using an ascending order of priority:
 - recently accessed, dirty
 - recently accessed, clean
 - not recently accessed, dirty
 - not recently accessed, clean
Direct dependencies¶
<choice EVICTION_CHOICE: Page frame eviction algorithms>
(Includes any dependencies from ifs and menus.)
Kconfig definition¶
At <Zephyr Subsystem>/demand_paging/eviction/Kconfig:17
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:67 → <Zephyr Subsystem>/demand_paging/Kconfig:7
Menu path: (Top) → Sub Systems and OS Services → Demand Paging modules → Page frame eviction algorithms
config EVICTION_NRU
    bool "Not Recently Used (NRU) page eviction algorithm"
    depends on <choice EVICTION_CHOICE>
    help
      This implements a Not Recently Used page eviction algorithm.
      A periodic timer will clear the accessed state of all virtual pages.
      When a page frame needs to be evicted, the algorithm will prefer to
      evict page frames using an ascending order of priority:
       - recently accessed, dirty
       - recently accessed, clean
       - not recently accessed, dirty
       - not recently accessed, clean
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)