allocate large region of memory in kernel space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: kernelnewbies@xxxxxxxxxxxx
- Subject: allocate large region of memory in kernel space?
- From: Xiangfei Jia <xjianz@xxxxxxxxx>
- Date: Sun, 21 Aug 2005 14:10:20 +1200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TmGVggk/oqafrCY/de5FjgWv6p//AYryBGLts4bkAEByXDIim1T4ciTcad33iLZcsRQ+B8SVgcz4dg7HQRKvTkRjGWWz4wnt2rhLB1SD9bfYm6UqNBpOjzsW5yn3g/lF9bJelA8R7/YKufb/zuCijjzvVLL4QvhdzrCn4bGzkOY=
- Sender: kernelnewbies-bounce@xxxxxxxxxxxx
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]