/* Not Recently Used (NRU) eviction algorithm for demand paging  */
static void nru_periodic_update(struct k_timer *timer)
/* Not Recently Used (NRU) eviction algorithm for demand paging  */
static void nru_periodic_update(struct k_timer *timer)
{
	uintptr_t phys;
	struct z_page_frame *pf;
	unsigned int key = irq_lock();
	Z_PAGE_FRAME_FOREACH(phys, pf) {
		if (!z_page_frame_is_evictable(pf)) {
			continue;
		}
		(void)arch_page_info_get(pf->addr, NULL, true);
	}
	irq_unlock(key);
}