summaryrefslogtreecommitdiff
path: root/mm/slob.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-09-11 17:05:33 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2007-09-11 18:03:26 (GMT)
commitb868868ae0f7272228c95cc760338ffe35bb739d (patch)
tree71ed6189bc2dddd3f79aae0969e41381f905a709 /mm/slob.c
parent01e9943c79ad4edb2c0b76c99029e34d704223ce (diff)
downloadlinux-fsl-qoriq-b868868ae0f7272228c95cc760338ffe35bb739d.tar.xz
[MIPS] Fix aliasing bug in copy_user_highpage.
Copy_user_highpage was written assuming it was only being called for breaking COW pages in which case the source page isn't cached as in marked cachable under it kernel virtual address. If it is called anyway the aliasing avoidance strategy implemented by kmap_coherent will fail. Avoid the use of kmap_coherent for pages marked dirty and to avoid another instance of this sort of bug, place a BUG_ON in kmap_coherent. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions