lkml.org 
[lkml]   [2002]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is there anyway to use 4M pages on x86 linux in user level?
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.034 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site