Re: [CFT] MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself

Benjamin Herrenschmidt
2010-01-22T03:50:45Z

On Wed, 2010-01-20 at 13:52 +0000, Russell King wrote:
> On VIVT ARM, when we have multiple shared mappings of the same file
> in the same MM, we need to ensure that we have coherency across all
> copies. We do this via make_coherent() by making the pages
> uncacheable.
>
> This used to work fine, until we allowed highmem with highpte - we
> now have a page table which is mapped as required, and is not available
> for modification via update_mmu_cache().

Looks good. I'll test when I'm back from LCA.

Cheers,
Ben.