Re: Question regarding x86_64 __PHYSICAL_MASK_SHIFT

From: Tejun Heo
Date: Tue Oct 04 2005 - 07:02:37 EST


Sorry, corrections.

On Tue, Oct 04, 2005 at 08:59:48PM +0900, Tejun Heo wrote:
>
> Hello, Andi.
>
> In include/asm-x86_64/page.h, __VIRTUAL_MASK_SHIFT is defined as 48
> bits which is the size of virtual address space on current x86_64
> machines as used as such. OTOH, __PHYSICAL_MASK_SHIFT is defined as 46
and used as such.
> and used as mask shift for physical page address (i.e. physaddr >> 12).
physical page number (i.e. physaddr >> 12).

Sorry about extra noise, I gotta eat something, feeling dizzy. :-)

--
tejun
-
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/