[lkml]   [2002]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [PATCH,RFC] Transparent SuperPage Support for 2.5.44
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.


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_NR 4
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)
extern inline int pte_none(pte_t pte) { return !(pte_val(pte)); }
extern inline void pte_clear(pte_t *ptep) { pte_val(*ptep)=0; }

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean