Skip to content

x86: missing call to k_mem_paging_eviction_accessed() #75132

@npitre

Description

@npitre

Is your enhancement proposal related to a problem? Please describe.

Demand Paging may benefit from an LRU eviction algorithm now.
However it needs input from the low-level architecture memory fault code.
The X86 architecture lacks a call to k_mem_paging_eviction_accessed()
for the LRU algorithm to be effective.

Describe the solution you'd like

Someone well acquainted with the X86 MMU code should add that missing
call.

Describe alternatives you've considered

I've considered doing it myself but my X86 fu is way insufficient.

Additional context

The ARM64 version may be used as a reference if need be:
npitre@a35e394

Metadata

Metadata

Assignees

Labels

EnhancementChanges/Updates/Additions to existing featuresarea: X86x86 Architecture (32-bit)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions