From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 24 Nov 2009 17:47:43 +0000 Subject: [PATCH] Flush the D-cache during copy_user_highpage() In-Reply-To: <1259084103.16239.38.camel@pc1117.cambridge.arm.com> References: <20091124170321.GD17481@n2100.arm.linux.org.uk> <1259082375.16239.37.camel@pc1117.cambridge.arm.com> <20091124172645.GE17481@n2100.arm.linux.org.uk> <1259084103.16239.38.camel@pc1117.cambridge.arm.com> Message-ID: <20091124174743.GG17481@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Nov 24, 2009 at 05:35:03PM +0000, Catalin Marinas wrote: > On Tue, 2009-11-24 at 17:26 +0000, Russell King - ARM Linux wrote: > > 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. > > So, do you want a pull request, send it to the patch system or you just > pick it up from the list? Patch system please.