i386 and PAE: pud_present()

From: Magnus Damm
Date: Fri Apr 28 2006 - 03:40:47 EST


Hi guys,

In file include/asm-i386/pgtable-3level.h:

On i386 with PAE enabled, shouldn't pud_present() return (pud_val(pud)
& _PAGE_PRESENT) instead of constant 1?

Today pud_present() returns constant 1 regardless of PAE or not. This
looks wrong to me, but maybe I'm misunderstanding how to fold the page
tables... =)

Thanks,

/ magnus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/