Physical memory allocation

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

 



Hello,

Can I allocate 100Mbytes of physical contiguous memory within my driver (for
DMA ring-buffer purpose)?
vmalloc can allocate such a big buffer but the pages are contiguous in the
virtual space.
Currently I tell kernel not to manage a chunk of memory upon bootup. Than I
map a known address of the physical chunk into virtual space and 
use it within kernel and user land.
I would like to allocate it within a driver instead.


Regards,
Konstantyn

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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux