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

Richard B. Johnson (root@chaos.analogic.com)
Fri, 18 Jan 2002 16:37:19 -0500 (EST)


On Fri, 18 Jan 2002, 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

Nope! You might be confusing the "granularity" number. This just
tells the CPU how to interpret the rest of the stuff. Right now
the base and limit is set for 32-bits for a, gawd help me,
`segment`. You can go back to 16-bit segments if you want.

Paging is different, there's a single bit that controls the size
of a page; small or big, nothing in-between. That's it.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

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