2.5.52 a/arch/i386/mm/init.c
Hi!
In 2.5.52:
Looks suspect to me... Is it okay to do one_md_table_init, then just discard the result? Why this change?
Pavel
arch/i386/mm/init.c Sun Dec 15 18:08:30 2002 +0 -1
@@ -134,8 +134,10 @@ pgd = pgd_base + pgd_ofs; pfn = 0; - for (; pgd_ofs < PTRS_PER_PGD && pfn < max_low_pfn; pgd++,
pgd_ofs++) {
+ for (; pgd_ofs < PTRS_PER_PGD; pgd++, pgd_ofs++) {
pmd = one_md_table_init(pgd);
+ if (pfn >= max_low_pfn)
+ continue;
for (pmd_ofs = 0; pmd_ofs < PTRS_PER_PMD && pfn <
max_low_pfn; pmd++, pmd_ofs++) {
/* Map with big pages if possible, otherwise
create normal page tables. */
if (cpu_has_pse) {Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email?