[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mmap with __get_free_pages()



Hallaa,,

Im kinda novice in the Linux MM, so please pardon  me if its a silly
question.

I want to allocate physically contiguous blocks of memory for a DMA capable
PCI device.
Im working on 2.4.18 kernel, i586.
Ive used series of __get_free_pages() with GFP_DMA|GFP_KERNEL flags,
and tried to get array of 128k buffers.

Now i want to do a mmap() of all these blocks.
How do i do that ?

thanx .


-nagaraj


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/