> 1. Can I use the page I allocated by using __alloc_bootmem() function > later on? Or should I free the allocated chunk as soon as the normal > caching system is functional (after copying to the original content > :-). You can continue using memory allocated with alloc_bootmem(). Pages allocated by the bootmem allocator are marked reserved so that they are not on the free list. (More accurately: all pages are marked reserved first, and the 'reserved' flag isn't cleared for those pages allocated by bootmem). > 2. How can I detect if the normal memory caching method is available? I don't know if it is possible at run-time; if it does, it has to be architecture specific. Ravi. __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/