Thread (4 messages) 4 messages, 4 authors, 2000-10-19

Re: Page allocation (get_free_pages)

From: Timur Tabi <hidden>
Date: 2000-10-18 20:17:23

** Reply to message from "p.hamshere" [off-list ref] on Wed, 18 Oct
2000 21:12:26 +0100

I'm wondering why get_free_pages allocates contiguous pages for non-DMA transfers and why the kernel identity (ish) maps the whole (up to 1GB) of physical memory to its address space...
I can't answer the question as to why, although I suspect because it's a lot
easier,

I can say, however, that if gfp were to not return contiguous pages, it would
break my driver.



-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please direct the reply to the mailing list only.  Don't send another copy to me.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help