]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: 5794/1: Flush the D-cache during copy_user_highpage()
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 24 Nov 2009 17:54:07 +0000 (18:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Dec 2009 14:58:50 +0000 (14:58 +0000)
commit115b22474eb1905da2f606a057da3455833333d3
tree21633ac227c92fc6f646ccdb5a0b3d7f5f73aaba
parentf91fb05d826a43063fa0aa2ec30c23d3993a208d
ARM: 5794/1: Flush the D-cache during copy_user_highpage()

The I and D caches for copy-on-write pages on processors with
write-allocate caches become incoherent causing problems on application
relying on CoW for text pages (dynamic linker relocating symbols in a
text page). This patch flushes the D-cache for such pages.

Cc: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/copypage-v6.c