* Linus Torvalds <torvalds@linux-foundation.org> wrote:
quoted text > On Tue, 6 May 2008, Ingo Molnar wrote:
> >
> > hm, the main objection was about whether to turn PAGE_SIZE from
> > unsigned into signed though - and that we didnt do.
>
> No it wasn't.
>
> The main objection was that you SHOULD NOT USE PAGE_SIZE_MASK AT ALL!
>
> 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.
yeah, indeed, sorry about that. Will sort this type mixing out today.
Ingo
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad , Ingo Molnar , (Tue May 6, 11:15 am)