[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48207A13.7010205@goop.org>
Date: Tue, 06 May 2008 16:32:35 +0100
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Ingo Molnar <mingo@...e.hu>, Hugh Dickins <hugh@...itas.com>,
Jeff Chua <jeff.chua.linux@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Gabriel C <nix.or.die@...glemail.com>
Subject: Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Linus Torvalds wrote:
> You should have used a pagetable-specific macro, becuse PAGE_MASK is
> simply fundamentally WRONG, and has absolutely nothing to do with the PFN
> bits, whether sign-extended or not!
>
> The fact is, the page frane number bits are *not* ~PAGE_MASK or anything
> like that. They share only the low bits - not the high bits.
Yes. There's already a PTE_MASK for masking out the PFN vs the flags in
a pte, but it isn't used consistently (perhaps at all).
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists