From: Arnd Bergmann <arnd@arndb.de>
To: Vinay Venkataraghavan <raghavanvinay@yahoo.com>
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Page protection flags in linux on an x86 platform
Date: Thu, 26 Feb 2009 20:54:53 +0100 [thread overview]
Message-ID: <200902262054.53412.arnd@arndb.de> (raw)
In-Reply-To: <356809.23263.qm@web39808.mail.mud.yahoo.com>
On Thursday 26 February 2009, Vinay Venkataraghavan wrote:
> I am trying to port some PPC code to x86 based linux. My question is that I am need to create some page mappings using remap_pfn_range. In the code for the PPC,
> the protection flags being specified are:
>
> __pgprot(_PAGE_NO_CACHE | _PAGE_GUARDED);
To make your code portable, use pgprot_noncached(), which works on all
architectures.
Arnd <><
next prev parent reply other threads:[~2009-02-26 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 19:36 Page protection flags in linux on an x86 platform Vinay Venkataraghavan
2009-02-26 19:54 ` Arnd Bergmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-25 21:34 Vinay Venkataraghavan
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=200902262054.53412.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=raghavanvinay@yahoo.com \
/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.