I have several questions :
1) does Cortex-A8 can map the same physical page at different virtual addresses or is it impossible due to hardware design for mmu ?
2) Can linux mmap stuff be able to track if a swapped page should be recovered at all virtual addresses where the physical page were the same ?
Why I ask those questions ?
I would like, say, to mmap a virtual 1GB block, where I would have approximatively 69 MB of true ram pages, scattered and mirrored in the block. Basically mirrored in a cached segment and a uncached segment.
1) if it is not possible because of hardware design of MMU, I guess i have no choice.
2) if it is not possible to share a physical page between different virtual addresses without a loss of coherency if page is swapped, can Linux be confortable if we lock those 69MB pages in the block (that is a fix mapping without swapping or paging out) ?
1) does Cortex-A8 can map the same physical page at different virtual addresses or is it impossible due to hardware design for mmu ?
2) Can linux mmap stuff be able to track if a swapped page should be recovered at all virtual addresses where the physical page were the same ?
Why I ask those questions ?
I would like, say, to mmap a virtual 1GB block, where I would have approximatively 69 MB of true ram pages, scattered and mirrored in the block. Basically mirrored in a cached segment and a uncached segment.
1) if it is not possible because of hardware design of MMU, I guess i have no choice.
2) if it is not possible to share a physical page between different virtual addresses without a loss of coherency if page is swapped, can Linux be confortable if we lock those 69MB pages in the block (that is a fix mapping without swapping or paging out) ?