linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <ttabi@interactivesi.com>
Cc: Linux MM mailing list <linux-mm@kvack.org>
Subject: Re: pgd/pmd/pte and x86 kernel virtual addresses
Date: Tue, 29 Aug 2000 10:31:07 -0500	[thread overview]
Message-ID: <20000829173056Z131165-247+22@kanga.kvack.org> (raw)
In-Reply-To: <20000829000935.K1467@redhat.com>

** Reply to message from "Stephen C. Tweedie" <sct@redhat.com> on Tue, 29 Aug
2000 00:09:35 +0100


> > physical pointer.  The first is the normal virtual pointer for kernel memory,
> > and the second is the one returned by ioremap_nocache().  I was under the
> > understanding that caching is enabled on physical pages only, so it shouldn't
> > matter which virtual address I use.  Is that correct?
> 
> No.  The no-cache bit is set in the page table entry, so depends on
> the virtual address.  There is a *different* form of memory access
> control which can be used to make memory non-cachable, and that is the
> "mtrr" (Memory Type Range Register), which exists in different forms
> on all recent Intel and AMD cpus.  Mtrrs work on physical addresses,
> but that is not what ioremap_nocache() uses.

Ok, thanks!  That explains a whole lot.

Another question: is there a way I can enable Write Combining on a page,
without using MTRR's?



-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

      reply	other threads:[~2000-08-29 15:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-24 23:21 Timur Tabi
2000-08-24 23:43 ` Benjamin C.R. LaHaise
2000-08-25 15:25   ` Timur Tabi
2000-08-25 16:45     ` Benjamin C.R. LaHaise
2000-08-25 16:40       ` Timur Tabi
2000-08-25 16:59         ` Benjamin C.R. LaHaise
2000-08-25 18:46           ` Timur Tabi
2000-08-26  3:59             ` Benjamin C.R. LaHaise
2000-08-28 23:09             ` Stephen C. Tweedie
2000-08-29 15:31               ` Timur Tabi [this message]

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=20000829173056Z131165-247+22@kanga.kvack.org \
    --to=ttabi@interactivesi.com \
    --cc=linux-mm@kvack.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