From: "Wiedemeier, Jeff" <Jeff.Wiedemeier@hp.com>
To: Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
Cc: linux-kernel@vger.kernel.org, Jeff Wiedemeier <Jeff.Wiedemeier@hp.com>
Subject: Re: [PATCH,RFC] Transparent SuperPage Support for 2.5.44
Date: Sun, 27 Oct 2002 21:40:50 -0500 [thread overview]
Message-ID: <20021027214050.A7886@dsnt25.mro.cpqcorp.net> (raw)
In-Reply-To: <20021028105849.424265cb.nshimizu@keyaki.cc.u-tokai.ac.jp>; from nshimizu@keyaki.cc.u-tokai.ac.jp on Mon, Oct 28, 2002 at 10:58:49AM +0900
On Mon, Oct 28, 2002 at 10:58:49AM +0900, Naohiko Shimizu wrote:
> This patch includes i386, alpha, sparc64 ports.
> But I could not compile for alpha even with plain 2.5.44, and
Here's a small patch on top of yours to fix a typo and add set_pte_raw
for Alpha.
/jeff
----
diff -Nuar superpage/include/asm-alpha/pgtable.h superpage.alpha/include/asm-alpha/pgtable.h
--- superpage/include/asm-alpha/pgtable.h Sun Oct 27 21:16:02 2002
+++ superpage.alpha/include/asm-alpha/pgtable.h Sun Oct 27 21:20:45 2002
@@ -275,7 +275,7 @@
#define SUPER_PAGE_MASK 0x0060
#define SUPER_PAGE_MASK_SHIFT 5
#define SUPER_PAGE_NR 4
-#define SIZEOF_PTE_LOG2 SEZEOF_PTR_LOG2
+#define SIZEOF_PTE_LOG2 SIZEOF_PTR_LOG2
void down_pte_sp(pte_t *pteptr, int index);
void clear_pte_sp(pte_t *pteptr, int index);
extern int super_page_order[];
@@ -288,6 +288,7 @@
{pte_val(pte) &= ~SUPER_PAGE_MASK; return pte;}
extern inline void pte_clear(pte_t *ptep) \
{ pte_t pte; pte_val(pte)=0; set_pte(ptep, pte); }
+#define set_pte_raw(pteptr, pteval) set_pte(pteptr, pteval)
#else
extern inline int pte_none(pte_t pte) { return !(pte_val(pte)); }
extern inline void pte_clear(pte_t *ptep) { pte_val(*ptep)=0; }
next prev parent reply other threads:[~2002-10-28 2:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-28 1:58 Naohiko Shimizu
2002-10-28 2:40 ` Wiedemeier, Jeff [this message]
2002-10-28 3:00 ` Naohiko Shimizu
2002-11-03 7:40 ` Pavel Machek
2002-11-04 5:34 ` Naohiko Shimizu
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=20021027214050.A7886@dsnt25.mro.cpqcorp.net \
--to=jeff.wiedemeier@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nshimizu@keyaki.cc.u-tokai.ac.jp \
/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
all inboxes | Powered by JetHome®