Allocate buffer in DMA zone

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

 



Hi, Fellows,

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? 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?

Thanks,

David

--
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