linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Setting the PSE bit
@ 2006-03-29  6:46 VASM
  0 siblings, 0 replies; only message in thread
From: VASM @ 2006-03-29  6:46 UTC (permalink / raw)
  To: linux-kernel, linux-mm

Hi ,
      I need some help for my project , I have 1024 contiguous 4 kb
pages in the memory (aligned to a 4mb boundary ) , i want to convert
these pages into one 4M page , I have written code in
do_anonymous_page()  , i have trapped my test program (which has a
mmap call for anonymous memory) in side this function and I want this
to work for this test process only , AFAIK the changes that need to be
done are , an new mk_pte_large should be added  where the PSE bit is
set and then use set_pte.
but is there any thing else that needs to be done , do we need to set
the pse bit in the pgd  , is yes , how ?
I am working on a intel 32 platform , I have read somewhere that a bit
in cr4 also needs to be set , is it already done or I'll have to do it
now.
and is there anything more that has to be done.

working on 2.4.32

--
Vasm

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-29  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29  6:46 Setting the PSE bit VASM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox