From: John Marvin <jsm@udlkern.fc.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [PATCH] Performance Patch for TLB misses
Date: Mon, 11 Nov 2002 12:07:05 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805381@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805350@msgid-missing>
> > Wouldn't removal of this possibly cause cached and uncahced mappings
> > to same page?
>
> Yes, but for the kernel it is allowed also without the patch and the the user c
> ould insert a
> duplicate mapping for the same physical page but this useless for him because o
> f the access
> rights and also the kernel would not use these pages (because the kernel has no
> knowledge of
> this pages).
>
Christian, you must not have understood what Dave was referring to when
he talked about attribute aliasing. Having cached and uncached mappings
to the same page might be OK on a Pentium, but it is definitely not OK
on the ia64 architecture. It can lead to MCA's. Here's a quote from
the architecture manual that might make it a little clearer (from the
end of section 4.4.1):
It is recommended that processor models report a Machine Check abort
if any of the following attribute aliases are detected:
* Coalescing buffer hit on a non-coalescing page.
* Cache hit on an uncacheable page, other than as the target of a
local or remote flush cache instruction.
Just because the user can't use the bad mapping that he may have inserted
doesn't mean that it is not a problem. Once that translation has been
inserted, it is a potential problem. Even if the kernel doesn't directly
use the translation, the processor may use it to prefetch.
John Marvin
jsm@fc.hp.com
next prev parent reply other threads:[~2002-11-11 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 14:00 [Linux-ia64] [PATCH] Performance Patch for TLB misses Christian Hildner
2002-11-07 16:38 ` David Mosberger
2002-11-07 17:14 ` Mario Smarduch
2002-11-11 8:38 ` Christian Hildner
2002-11-11 8:49 ` Christian Hildner
2002-11-11 12:07 ` John Marvin [this message]
2002-11-11 18:48 ` David Mosberger
2002-11-12 8:43 ` Christian Hildner
2002-11-12 17:00 ` David Mosberger
2002-11-12 18:03 ` David Mosberger
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=marc-linux-ia64-105590709805381@msgid-missing \
--to=jsm@udlkern.fc.hp.com \
--cc=linux-ia64@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.