• David S. Miller's avatar
    [SPARC64]: Fix D-cache corruption in mremap · 0b0968a3
    David S. Miller authored
    If we move a mapping from one virtual address to another,
    and this changes the virtual color of the mapping to those
    pages, we can see corrupt data due to D-cache aliasing.
    
    Check for and deal with this by overriding the move_pte()
    macro.  Set things up so that other platforms can cleanly
    override the move_pte() macro too.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0b0968a3
pgtable.h 5.98 KB