From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH]: Fix D-cache corruption in mremap()
Date: Fri, 02 Jun 2006 08:20:32 +0000 [thread overview]
Message-ID: <20060602.012032.11599733.davem@davemloft.net> (raw)
In-Reply-To: <20060601.175258.41634623.davem@davemloft.net>
From: "Christian Joensson" <christian.joensson@gmail.com>
Date: Fri, 2 Jun 2006 10:04:29 +0200
> On 6/2/06, David Miller <davem@davemloft.net> wrote:
> > From: David Miller <davem@davemloft.net>
> > Date: Thu, 01 Jun 2006 17:52:58 -0700 (PDT)
> >
> > > I'll also post a little reproducer program that can be used to
> > > accurately see if the patch really fixes the problem on your
> > > machine or not, which should help with the variability of the
> > > dpkg corruption case.
> >
> > As promised:
> >
> > /* mremap() stress tester for D-cache aliasing platforms.
> > *
> > * Copyright (C) 2006 David S. Miller (davem@davemloft.net)
> > *
>
> great, so if I compile with gcc and run it... I get this:
>
> [chj@arnljot ~]$ gcc mremap-stress-tester.c
> [chj@arnljot ~]$ ./a.out
> unmapped region at 0xf7d72000
> Initial main_buf at 0xf7d72000
> Bogus value 00000001 should be 00000002
> [chj@arnljot ~]$ uname -a
> Linux arnljot 2.6.16-1.2128sp4 #1 Fri May 26 10:08:13 EDT 2006 sparc64
> sparc64 sparc64 GNU/Linux
> [chj@arnljot ~]$
>
> which means?
It means the kernel you are running has the bug, try to rerun
it with the kernel patch I posted, it should no longer produce
the:
Bogus value 00000001 should be 00000002
lines.
next prev parent reply other threads:[~2006-06-02 8:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-02 0:52 [PATCH]: Fix D-cache corruption in mremap() (was David Miller
2006-06-02 0:54 ` [PATCH]: Fix D-cache corruption in mremap() David Miller
2006-06-02 8:04 ` Christian Joensson
2006-06-02 8:20 ` David Miller [this message]
2006-06-02 13:17 ` [PATCH]: Fix D-cache corruption in mremap() (was Re: 2.6.17-rc3+git Meelis Roos
2006-06-02 15:31 ` Gustavo Zacarias
2006-06-02 20:18 ` [PATCH]: Fix D-cache corruption in mremap() Daniel Smolik
2006-06-02 22:19 ` David Miller
2006-06-03 6:08 ` David Miller
2006-06-03 6:09 ` David Miller
2006-06-03 19:01 ` Jurij Smakov
2006-06-04 6:41 ` David Miller
2006-06-04 16:13 ` Meelis Roos
2006-06-06 10:05 ` Marc Zyngier
2006-06-09 15:23 ` [PATCH]: Fix D-cache corruption in mremap() (was Re: 2.6.17-rc3+git seems to corrupt dpkg databa Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060602.012032.11599733.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.