Skip to contentSkip to conversation

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

DISCUSSION DervishD 2 participants 2 messages Jan 18, 2002

lore
Share & tools
lore

DervishD

author
#0 lore raw

Hi Yinlei :)

Quoted 1 line

Since x86 architecutre has a 4M page feature

I may certainly be wrong but... is not 4k OR 16M the page size on
x86 arch? I didn't know about 4M page. Could you send me the GTD settings for that? (Just curiosity :)))

Ra�l

#1 lore raw
Quoted 8 lines · DervishD

Hi Yinlei :)

Quoted 1 line

Since x86 architecutre has a 4M page feature

I may certainly be wrong but... is not 4k OR 16M the page size on
x86 arch? I didn't know about 4M page. Could you send me the GTD settings for that? (Just curiosity :)))

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.

Signature · 1 line
						Brian Gerst