patch-2.4.19 linux-2.4.19/include/asm-i386/pgalloc.h
Next file: linux-2.4.19/include/asm-i386/pgtable.h
Previous file: linux-2.4.19/include/asm-i386/pci.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-i386/pgalloc.h
- Orig date:
Fri Dec 21 09:42:03 2001
diff -urN linux-2.4.18/include/asm-i386/pgalloc.h linux-2.4.19/include/asm-i386/pgalloc.h
@@ -139,7 +139,7 @@
free_page((unsigned long)pte);
}
-#define pte_free(pte) pte_free_slow(pte)
+#define pte_free(pte) pte_free_fast(pte)
#define pgd_free(pgd) free_pgd_slow(pgd)
#define pgd_alloc(mm) get_pgd_fast()
@@ -227,13 +227,12 @@
};
extern struct tlb_state cpu_tlbstate[NR_CPUS];
-
-#endif
+#endif /* CONFIG_SMP */
static inline void flush_tlb_pgtables(struct mm_struct *mm,
unsigned long start, unsigned long end)
{
- /* i386 does not keep any page table caches in TLB */
+ flush_tlb_mm(mm);
}
#endif /* _I386_PGALLOC_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)