From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Parisc List <linux-parisc@vger.kernel.org>
Subject: instruction cache flushing issues
Date: Fri, 12 Nov 2010 11:14:25 -0600 [thread overview]
Message-ID: <1289582065.3015.47.camel@mulgrave.site> (raw)
While looking at all the other problems surrounding our coherency
issues:
http://wiki.parisc-linux.org/TestCases
I noticed that we have no nullifier naitlb (non access instruction tlb
miss interruption) handler (we do in the nadtlb handler). What this
means is that an icache flush to any area always pulls in the tlb entry
(or generates a page fault). Can anyone remember why we do this? I
suspect it's because for data, we don't want to prefetch if we have no
TLB entry and the effect on flushing is just incidental.
What I don't like about this behaviour is that if we flush a user
instruction page, we actually cause a TLB entry to be placed there
(where none might have existed before). This, in turn, causes the CPU
to think it's allowed to do cache movein. Premature movein (say because
we flush before the data is present) could be one cause of our apparent
icache problems in threading.
James
reply other threads:[~2010-11-12 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1289582065.3015.47.camel@mulgrave.site \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-parisc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox