Re: Is there anyway to use 4M pages on x86 linux in user level?

Brian Gerst (bgerst@didntduck.org)
Fri, 18 Jan 2002 16:14:01 -0500


DervishD wrote:
>
> Hi Brian :)
>
> >The large page size is 4MB, except in PAE mode where they are 2MB.
> >Normal pages are always 4KB. Noting in the GDT affects the page
> >size.
>
> The entries in the GDT, do not set the page size for that
> descriptor? I'm certainly rusted on the i386 O:)))
>
> Raúl

No, there is a bit in the page directory that determines if the entry
points to a page table (with 4KB pages) or to a 4MB page. The GDT is
only used for segmentation, which is totally seperate from paging.

--

Brian Gerst - 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/