cache aliasing in dup_mmap

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Oct 5 10:46:23 EDT 2009


On Tue, Sep 29, 2009 at 08:11:08PM +0100, Russell King - ARM Linux wrote:
> On Tue, Sep 29, 2009 at 12:30:27PM -0400, Steven Walter wrote:
> > On Sun, Mar 8, 2009 at 10:36 AM, Russell King - ARM Linux
> > <linux at arm.linux.org.uk> wrote:
> > > On Sun, Mar 08, 2009 at 12:10:29PM +0000, Russell King - ARM Linux wrote:
> > >> I don't think moving flush_cache_mm solves anything - the problem remains,
> > >> but with a different timing.
> > >
> > > On the other hand, this should solve the problem.  I'm not 100% happy
> > > with this because we end up using the cache flush ops on the same memory
> > > several times.
> > 
> > Russell
> > 
> > It appears that this patch is neither in Linus' tree nor the ARM
> > master branch.  Was a different fix committed to address the original
> > memory corruption issue?
> 
> >From what I can see, there was no positive response to the actual patch
> (and no testing of the actual patch), so it doesn't get merged.
> 
> Changes don't get merged until they themselves have been tested.

I've not heard anything further.  I've thrown the patches into the git
tree under a separate branch now (top two):

http://ftp.arm.linux.org.uk/git/gitweb.cgi?p=linux-2.6-arm.git;a=shortlog;h=refs/heads/cup

I do feel that more work needs to be done to the 2nd patch though.



More information about the linux-arm-kernel mailing list