Re: i386 and PAE: pud_present()

From: Nick Piggin
Date: Fri Apr 28 2006 - 04:15:31 EST


Magnus Damm wrote:
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... =)

Take a look a little further down the page for the comment.

In i386 + PAE, pud is always present.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
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/