i386 pgd_clear() is now a no-op with PAE as without: so zap_low_mappings() isn't zapping in the PAE case. Patch below against 2.4.3, or 2.4.2-ac28 offset 1 line. Hugh --- 2.4.3/arch/i386/mm/init.c Mon Mar 26 20:01:56 2001 +++ linux/arch/i386/mm/init.c Fri Mar 30 14:46:34 2001 @@ -309,14 +309,11 @@ * Zap initial low-memory mappings. * * Note that "pgd_clear()" doesn't do it for - * us in this case, because pgd_clear() is a - * no-op in the 2-level case (pmd_clear() is - * the thing that clears the page-tables in - * that case). + * us, because pgd_clear() is a no-op on i386. */ for (i = 0; i < USER_PTRS_PER_PGD; i++) #if CONFIG_X86_PAE - pgd_clear(swapper_pg_dir+i); + set_pgd(swapper_pg_dir+i, __pgd(1 + __pa(empty_zero_page))); #else set_pgd(swapper_pg_dir+i, __pgd(0)); #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch available Marcelo Tosatti
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch availab... Marcelo Tosatti
- Re: 3rd version of R/W mmap_sem patch ava... Linus Torvalds
- 2.4.3-pre6 alpha pte/pmd_alloc update Ivan Kokshaysky
- [patch] pae-2.4.3-A4 Ingo Molnar
- Re: [patch] pae-2.4.3-A4 Russell King
- Re: [patch] pae-2.4.3-A4 Linus Torvalds
- Re: [patch] pae-2.4.3-A4 Ingo Molnar
- [PATCH] 2.4.4-pre1 sparc/mm typo Hugh Dickins
- [PATCH] 2.4.4-pre1 sparc/mm typo Hugh Dickins
- Re: 3rd version of R/W mmap_sem patch available Manfred Spraul
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch availab... Rik van Riel
- Re: 3rd version of R/W mmap_sem patch available Rik van Riel
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds