cache aliasing in dup_mmap

Steven Walter stevenrwalter at gmail.com
Mon Nov 16 12:23:36 EST 2009


On Mon, Nov 16, 2009 at 11:30 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
>> I apologize for the late reply.  I have a build with your patches
>> running in a reboot loop (the easiest way for us to reproduce the
>> crash).  I should have a good indication of whether the patches fix
>> the issue by Monday.
>
> Any results?

Yes, SIGSEGV after 88 boots, with a crash that we previously
identified as caused by this cache corruption issue.  Attached are the
patches I used, as manually backported to 2.6.18.5.  Stock 2.6.18.5
would reliably crash in under 1000 reboots, whereas  with my ad-hoc
fix (also attached) we were able to run 8000 reboots before we ended
the test.
-- 
-Steven Walter <stevenrwalter at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adhoc.patch
Type: text/x-patch
Size: 1087 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091116/97483bb4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pass-vma-to-copy_user_highpage.patch
Type: text/x-patch
Size: 3658 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091116/97483bb4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-call-flush_cache_page-before-copies.patch
Type: text/x-patch
Size: 2078 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091116/97483bb4/attachment-0002.bin>


More information about the linux-arm-kernel mailing list