Hi !
I am looking at page coloring for performance improvement and
would like the OS to do the practical work. To be able to do
this I have to control the physical placement of data based on
virtual address.
To do be able to do this I have some basic question on
page allocation in Linux (2.0.30) on a Pentium :
Are pages allocated on other places than __get_free_pages()
(in mm/page_alloc.c) ?
User memory seems to be allocated at first access to a page,
but what is the calling path (to __get_free_pages) ?
Does map_nr in struct page (in include/linux/mm.h) reflect
the physical page number of the page ?
If not how can I get the physical address of an non-allocated page ?