commit | 0b0968a3e691771bf87e1ce747b2c7d23b5526c8 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.sfo1.dsl.speakeasy.net> | Thu Jun 01 17:47:25 2006 -0700 |
committer | David S. Miller <davem@sunset.sfo1.dsl.speakeasy.net> | Thu Jun 01 17:47:25 2006 -0700 |
tree | 71787e376b7aef54b48e99d15a0fc11c7cf7ee8d | |
parent | 951bc82c53f30ec6b4c2d04a051e74ea9a89b669 [diff] |
[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: David S. Miller <davem@davemloft.net>