Hi,
On 32-bit and 64-bit cortex, can we have flat memory management (physical address == virtual address) to remove the cost of a page walk, while not losing on performance (keeping instruction and data caches active)?
Or at least, during the page fault interrupt, may we designate the address to fetch the page from (simple calculation + 1 memory access instead of multiple memory access), avoiding the page table walk?
I am trying to find a way to cancel the need for that slow operation.
Thanks
Thanks Peter,
Large pages seem to be the way to go. In case we know how we mapped our memory (baremetal here), isn't it possible to disable the automatic page walk and directly feed the right address to the system in the exception handler?
I guess it is not possible but that would be very useful.
According to your feedback I will accept your answer :)
Thanks a lot
PowerPC CPUs allow to write TLB entries directly. A nice feature.