allocate large region of memory in kernel space?

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

 



I'm working on a module that needs to allocate a large region of memory. I know that in this case I should use vmalloc(). The problem is the size of memory allocation for vmalloc() is 128MB maximally, but I need to allocate more than that. What should I do in this case???

Do I have to use a array to hold a number of small regions of memory?

What is the largest physically continuous memory the kmalloc() can allocate?

Thanks!!

Fei

[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