Thread (6 messages) 6 messages, 3 authors, 2011-08-07

Reserve physical page

From: Thayumanavar S <hidden>
Date: 2011-08-07 08:00:10

Ok. But in this case i have to ensure that the pfn is not mapped by the
kernel, right?
Will scanning mem_map to find such a pfn help?
I'm wondering if there are regions which are typically 'free' which i can
reserve and use.
Either you can look at memblock_reserve or reserve_bootmem. (this may
solve your problem).
or you alloc_page api which return a struct page, you SetPageReserved
and use page_to_pfn to get the pfn number.

thanks,
thayumanavar s.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help