From: Manfred Spraul <manfred@colorfullife.com>
To: Paul Mundt <lethal@linux-sh.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: fixmap TLB flushing clarification
Date: Sun, 21 Mar 2004 11:30:59 +0100 [thread overview]
Message-ID: <405D6EE3.50207@colorfullife.com> (raw)
>
>
>I'm curious about the last statement, is this to mean that a TLB entry will
>be reserved at set_fixmap() time in which the translation will happen, and
>that particular entry will be locked down for the duration of the mapping?
>
>
No. fixmap mappings are global - identical for all processes and all
cpus. Therefore it's not necessary to flush them during a task switch.
But that's just an optimization, not a mandatory feature:
On x86 it's possible to mark page table entries as global. Global
entries are not flushed by the normal tlb flush command, this gives a
slighly better performance. If your architecture doesn't support that,
then you can just flush everything during a task switch. I think the
support for global entries was added for the Pentium cpus - 80486 cpus
flush the whole tlb cache during a task switch.
--
Manfred
next reply other threads:[~2004-03-21 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-21 10:30 Manfred Spraul [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-21 0:06 fixmap TLB flushing clarification Paul Mundt
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=405D6EE3.50207@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@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.