From: Dan Malek <dan@embeddededge.com>
To: Joakim.Tjernlund@lumentis.se
Cc: linux-ppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: How to fix 8xx dcbst bug?
Date: Sat, 7 May 2005 21:00:28 -0400 [thread overview]
Message-ID: <a94ed840e6b2cf1aba35fc0beadff22d@embeddededge.com> (raw)
In-Reply-To: <BCEFJBPJCGFCNMMMIDBHKEJOCLAA.Joakim.Tjernlund@lumentis.se>
On May 7, 2005, at 6:47 PM, Joakim Tjernlund wrote:
> I was once told by a senior kernel hacker(Dan?) that using swap could
> make an already
> populated pte invalid. This was for 2.4 kernels.
The original problem was I didn't pay attention to the swap PTE when
constructing the originals for the 8xx. The swap PTE has to be
indicated
as such in one of the lowest 2 bits of the PTE, as the rest of the PTE
is
used for the swap block number. What would happen is there would
be the occasion where some control bit was set in the PTE within the
swap block number, and upon restoring from disk the wrong block
would be brought into memory (or the fact it was swapped was lost).
Thanks.
-- Dan
next prev parent reply other threads:[~2005-05-08 1:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-06 15:45 How to fix 8xx dcbst bug? Marcelo Tosatti
2005-05-07 18:24 ` Joakim Tjernlund
2005-05-07 13:57 ` Marcelo Tosatti
2005-05-07 18:39 ` Wolfgang Denk
2005-05-07 22:47 ` Joakim Tjernlund
2005-05-08 1:00 ` Dan Malek [this message]
2005-05-08 1:10 ` Dan Malek
2005-05-07 21:47 ` Marcelo Tosatti
2005-05-09 19:25 ` Dan Malek
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=a94ed840e6b2cf1aba35fc0beadff22d@embeddededge.com \
--to=dan@embeddededge.com \
--cc=Joakim.Tjernlund@lumentis.se \
--cc=linuxppc-embedded@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).