> I am not very familiar with the kernel yet. From what I read > it seems we can force the kmalloc to allocate a buffer at a > specific zone, i.e. the DMA zone? > Is that true? Yes, you can pass the 'GFP_DMA' flag to kmalloc() if you want memory from the DMA zone. > If so how can I let the kernel know that the DMA zone > is between, for example 0x10010000 to 0x10020000. And > how to force the memory allocation to be in this specific > memory range? The size and address range of DMA zone can not be specified at runtime. It is architecture specific, and is fixed. For example, DMA zone on i386 is from 0 to 16MB (physical address). Hope this helps, Ravi. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/