[PATCH] Flush the D-cache during copy_user_highpage()

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Nov 24 12:26:45 EST 2009


On Tue, Nov 24, 2009 at 05:06:15PM +0000, Catalin Marinas wrote:
> On Tue, 2009-11-24 at 17:03 +0000, Russell King - ARM Linux wrote:
> > On Tue, Nov 24, 2009 at 05:00:39PM +0000, Catalin Marinas wrote:
> > > 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.
> > 
> > Don't we need to do this on ARMv7 as well?
> 
> Do you mean an improvement to the patch description?

Don't worry, I'm being silly - there isn't an ARMv7 version of the
copy page functions.  Your patch is fine.



More information about the linux-arm-kernel mailing list