public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-kernel@vger.kernel.org
Subject: fixmap TLB flushing clarification
Date: Sat, 20 Mar 2004 19:06:19 -0500	[thread overview]
Message-ID: <20040321000619.GB14843@linux-sh.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

In include/asm-*/fixmap.h the comment about fixed_addresses states:

...
 * these 'compile-time allocated' memory buffers are
 * fixed-size 4k pages. (or larger if used with an increment
 * highger than 1) use fixmap_set(idx,phys) to associate
 * physical memory with fixmap indices.
 *
 * TLB entries of such buffers will not be flushed across
 * task switches.
...

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?

Is some other convention in place to preserve the translation across a
TLB flush at context switch time, or do we actually need to give up a
TLB entry for each fixmap?


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-03-21  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21  0:06 Paul Mundt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-21 10:30 fixmap TLB flushing clarification Manfred Spraul

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=20040321000619.GB14843@linux-sh.org \
    --to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox