Skip to content
Commit 0b0968a3 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix D-cache corruption in mremap



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>
parent 951bc82c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment