Re: PAGE_SIZE on 64bit and 32bit machines

From: Jiri Slaby
Date: Mon Nov 12 2007 - 10:14:32 EST


On 11/12/2007 03:39 PM, Yoav Artzi wrote:
> According to my knowledge the PAGE_SIZE on 32bit architectures in 4KB.
> Logically, the PAGE_SIZE on 64bit architectures should be 8KB. That's at
> least the way I understand it. However, looking at the kernel code of
> x86_64, I see the PAGE_SIZE is 4KB.

Yes, it stood unchanged, the only difference is 4-level page tables.

> Can anyone explain to me what am I missing here?

What led you to that it must be 8k?

regards,
--
Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
-
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/