Messages in this thread | | | From | Andi Kleen <> | Subject | Re: Question regarding x86_64 __PHYSICAL_MASK_SHIFT | Date | Tue, 4 Oct 2005 21:27:20 +0200 |
| |
On Tuesday 04 October 2005 21:19, Tejun Heo wrote:
> Hmmm.. but, currently > > * PHYSICAL_PAGE_MASK == (~(PAGE_SIZE-1)&(__PHYSICAL_MASK << PAGE_SHIFT) > == (0xffffffff_fffff000 & (0x00003fff_ffffffff << 12) > == 0x03ffffff_fffff000 > while it actually should be 0x00003fff_fffff000
Right. Fixed now
> * PTE_FILE_MAX_BITS == __PHYSICAL_MASK_SHIFT == 46, but only 40bits are > available in page table entries.
The non linear mapping format is independent from the MMU, the number is pretty much arbitary, but it is consistent to make it the same as other ptes for easier sanity checking.
-Andi - 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/
| |