-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: ARM64ARM (64-bit) ArchitectureARM (64-bit) Architecturearea: Architectures
Description
Is your enhancement proposal related to a problem? Please describe.
k_mem_unmap() needs to find out the mapped physical address (=> page frame) from a virtual address. It needs to call arch_page_phys_get(). Currently, for architecture that does not implement this function, a brute force method to walk through all the page frames is used to find the mapping. It would be great for ARM64 to implement its own arch_page_phys_get() as the arch code is probably able to find the mapping faster.
Describe the solution you'd like
arch_page_phys_get() is implemented in ARM64.
Describe alternatives you've considered
Currently, a brute force method is in place. It is simply slow.
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: ARM64ARM (64-bit) ArchitectureARM (64-bit) Architecturearea: Architectures