memory with __get_free_pages and disabling caching

Kallol Biswas Kallol_Biswas at pmc-sierra.com
Fri Mar 24 13:15:15 EST 2006


Hello,
       Is there an easy way to set page table attributes for the memory returned
by __get_free_pages()?
 
I need to be able to turn off caching and turn on E bit for these pages.
 
I tried to walk through the page tables data structures to get the pte, but it seems
that the pmd is not present for the pages. If someone has done investigation
on this before please send me a reply.
 
Thanks,
Kallol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060323/8423e81c/attachment.htm>


More information about the Linuxppc-dev mailing list